changeset 37097:15efbc138bd3

Replace deprecated avcodec_alloc_frame().
author ib
date Thu, 08 May 2014 10:30:52 +0000
parents 8643426b12de
children 5674877e6814
files gui/util/bitmap.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/util/bitmap.c	Thu May 08 09:15:32 2014 +0000
+++ b/gui/util/bitmap.c	Thu May 08 10:30:52 2014 +0000
@@ -111,7 +111,7 @@
     }
 
     avctx = avcodec_alloc_context3(NULL);
-    frame = avcodec_alloc_frame();
+    frame = av_frame_alloc();
 
     if (!(avctx && frame)) {
         av_free(frame);