[MPlayer-cvslog] r37465 - trunk/libmpcodecs/vd_ffmpeg.c

rtogni subversion at mplayerhq.hu
Fri Aug 28 21:37:25 CEST 2015


Author: rtogni
Date: Fri Aug 28 21:37:24 2015
New Revision: 37465

Log:
Use av_frame_free() instead of av_freep() to free AVFrame

Modified:
   trunk/libmpcodecs/vd_ffmpeg.c

Modified: trunk/libmpcodecs/vd_ffmpeg.c
==============================================================================
--- trunk/libmpcodecs/vd_ffmpeg.c	Wed Aug 26 17:11:44 2015	(r37464)
+++ trunk/libmpcodecs/vd_ffmpeg.c	Fri Aug 28 21:37:24 2015	(r37465)
@@ -539,7 +539,7 @@ static void uninit(sh_video_t *sh){
     }
 
     av_freep(&avctx);
-    av_freep(&ctx->pic);
+    av_frame_free(&ctx->pic);
     free(ctx);
 }
 


More information about the MPlayer-cvslog mailing list