diff options
Diffstat (limited to 'libavfilter/lavfutils.c')
-rw-r--r-- | libavfilter/lavfutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/lavfutils.c b/libavfilter/lavfutils.c index b7a103b..58d98cf 100644 --- a/libavfilter/lavfutils.c +++ b/libavfilter/lavfutils.c @@ -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; |