[MPlayer-cvslog] r37193 - trunk/gui/util/bitmap.c

ib subversion at mplayerhq.hu
Thu May 8 12:30:52 CEST 2014


Author: ib
Date: Thu May  8 12:30:52 2014
New Revision: 37193

Log:
Replace deprecated avcodec_alloc_frame().

Modified:
   trunk/gui/util/bitmap.c

Modified: trunk/gui/util/bitmap.c
==============================================================================
--- trunk/gui/util/bitmap.c	Thu May  8 11:15:32 2014	(r37192)
+++ trunk/gui/util/bitmap.c	Thu May  8 12:30:52 2014	(r37193)
@@ -111,7 +111,7 @@ static int pngRead(const char *fname, gu
     }
 
     avctx = avcodec_alloc_context3(NULL);
-    frame = avcodec_alloc_frame();
+    frame = av_frame_alloc();
 
     if (!(avctx && frame)) {
         av_free(frame);


More information about the MPlayer-cvslog mailing list