Merge commit '7751e4693dd10ec98c20fbd9887233b575034272'
* commit '7751e4693dd10ec98c20fbd9887233b575034272': ogg: check that the expected number of headers had been parsed libx264: change default to closed gop to match x264cli Use avcodec_free_frame() to free AVFrames. lavf: use a malloced AVFrame in try_decode_frame(). lavc: add avcodec_free_frame(). lavc: ensure extended_data is set properly on decoding lavc: initialize AVFrame.extended_data in avcodec_get_frame_defaults() lavc: use av_mallocz to allocate AVFrames. lavc: rename the argument of avcodec_alloc_frame/get_frame_defaults Conflicts: doc/APIchanges doc/examples/decoding_encoding.c libavcodec/utils.c libavcodec/version.h libavfilter/src_movie.c libavformat/oggdec.c libavformat/oggdec.h libavformat/oggparsetheora.c libavformat/utils.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -336,7 +336,7 @@ static av_cold void movie_uninit(AVFilterContext *ctx)
|
||||
av_freep(&movie->file_name);
|
||||
av_freep(&movie->st);
|
||||
av_freep(&movie->out_index);
|
||||
av_freep(&movie->frame);
|
||||
avcodec_free_frame(&movie->frame);
|
||||
if (movie->format_ctx)
|
||||
avformat_close_input(&movie->format_ctx);
|
||||
}
|
||||
|
Reference in New Issue
Block a user