]> git.sesse.net Git - ffmpeg/blobdiff - libavfilter/lavfutils.c
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavfilter / lavfutils.c
index b7a103b66ceec87431512d9a6c344d3987c12b48..58d98cfdb688d7b3d25976f2e0f9daf2318c3384 100644 (file)
@@ -57,7 +57,7 @@ int ff_load_image(uint8_t *data[4], int linesize[4],
         goto end;
     }
 
-    if (!(frame = avcodec_alloc_frame()) ) {
+    if (!(frame = av_frame_alloc()) ) {
         av_log(log_ctx, AV_LOG_ERROR, "Failed to alloc frame\n");
         ret = AVERROR(ENOMEM);
         goto end;