diff options
author | Clément Bœsch <u@pkh.me> | 2015-02-28 12:37:23 +0300 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2015-03-02 23:27:21 +0300 |
commit | 17cb05fe063482b0113682af1466f8cb64cf8388 (patch) | |
tree | 35e62d7a4da84d0224843e1b8eb1a5dcd20700cd /libavfilter/lavfutils.c | |
parent | 546d69eb43e831bb67a8a0d54a8762a315710c94 (diff) |
avfilter/lavfutils: use av_frame_free for freeing an AVFrame
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 80310d2fea..75e68a7d06 100644 --- a/libavfilter/lavfutils.c +++ b/libavfilter/lavfutils.c @@ -96,7 +96,7 @@ end: av_free_packet(&pkt); avcodec_close(codec_ctx); avformat_close_input(&format_ctx); - av_freep(&frame); + av_frame_free(&frame); if (ret < 0) av_log(log_ctx, AV_LOG_ERROR, "Error loading image file '%s'\n", filename); |