summaryrefslogtreecommitdiffstats
path: root/libhb/encavcodec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/encavcodec.c')
-rw-r--r--libhb/encavcodec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libhb/encavcodec.c b/libhb/encavcodec.c
index 721644fbe..6c6b742f6 100644
--- a/libhb/encavcodec.c
+++ b/libhb/encavcodec.c
@@ -153,7 +153,6 @@ void encavcodecClose( hb_work_object_t * w )
hb_log( "encavcodec: closing libavcodec" );
avcodec_flush_buffers( pv->context );
avcodec_close( pv->context );
- free( pv->context );
}
if( pv->file )
{