avformat: Free the internal codec context at the end
authorLuca Barbato <lu_zero@gentoo.org>
Tue, 11 Apr 2017 23:46:30 +0000 (01:46 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Thu, 13 Apr 2017 11:37:10 +0000 (13:37 +0200)
commit9e4a5eb51b9f3b2bff0ef08e0074b7fe4893075d
tree806ddad80591f8597fa49f54c8cd72d9fadf1e3f
parent19c5fa9eea47d45b5eedce3bff4edeaf83fb3942
avformat: Free the internal codec context at the end

Avoid a use after free in avformat_find_stream_info.

CC: libav-stable@libav.org
libavformat/utils.c