diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-09-21 09:10:23 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-09-24 12:31:25 +0200 |
commit | 11d1ca4b2c406bee2d22b04268a43b0873096c92 (patch) | |
tree | 4ceb6b2a73ffa7525588029614eb1b437a8c04d3 /libavfilter | |
parent | 9eb296572ec801c32d86b349ba1de27704953237 (diff) | |
download | ffmpeg-11d1ca4b2c406bee2d22b04268a43b0873096c92.tar.gz |
Use avcodec_free_frame() to free AVFrames.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vsrc_movie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vsrc_movie.c b/libavfilter/vsrc_movie.c index aeab10235c..78e1642bac 100644 --- a/libavfilter/vsrc_movie.c +++ b/libavfilter/vsrc_movie.c @@ -197,7 +197,7 @@ static av_cold void uninit(AVFilterContext *ctx) if (movie->format_ctx) avformat_close_input(&movie->format_ctx); avfilter_unref_buffer(movie->picref); - av_freep(&movie->frame); + avcodec_free_frame(&movie->frame); } static int query_formats(AVFilterContext *ctx) |