[MPlayer-cvslog] r37819 - trunk/libmpcodecs/ve_lavc.c

reimar subversion at mplayerhq.hu
Wed Mar 2 22:33:25 CET 2016


Author: reimar
Date: Wed Mar  2 22:33:25 2016
New Revision: 37819

Log:
ve_lavc: Use avcodec_free_context to free context.

Modified:
   trunk/libmpcodecs/ve_lavc.c

Modified: trunk/libmpcodecs/ve_lavc.c
==============================================================================
--- trunk/libmpcodecs/ve_lavc.c	Tue Mar  1 21:25:02 2016	(r37818)
+++ trunk/libmpcodecs/ve_lavc.c	Wed Mar  2 22:33:25 2016	(r37819)
@@ -873,7 +873,7 @@ static void uninit(struct vf_instance *v
     /* free rc_override */
     av_freep(&lavc_venc_context->rc_override);
 
-    av_freep(&vf->priv->context);
+    avcodec_free_context(&vf->priv->context);
 }
 
 //===========================================================================//


More information about the MPlayer-cvslog mailing list