]> git.sesse.net Git - ffmpeg/commit
avformat/options: don't call avformat_free_context() within avformat_alloc_context()
authorJames Almer <jamrial@gmail.com>
Sat, 19 Oct 2019 14:58:35 +0000 (11:58 -0300)
committerJames Almer <jamrial@gmail.com>
Sun, 20 Oct 2019 00:29:36 +0000 (21:29 -0300)
commit31aafdac2404c5e01b21e53255db3fb5ed53c7c9
tree21547c181e8b2d006fea7d50b7d1e2d037415742
parent90e37adab7fc88162d44dc68e510c3688d2de2f6
avformat/options: don't call avformat_free_context() within avformat_alloc_context()

avformat_free_context() expects AVFormatContext->internal to not be NULL.

Reviewed-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/options.c