lavf: fix memleaks in avformat_find_stream_info()
authorJustin Ruggles <justin.ruggles@gmail.com>
Mon, 16 Sep 2013 19:51:46 +0000 (15:51 -0400)
committerAnton Khirnov <anton@khirnov.net>
Mon, 29 Sep 2014 17:54:25 +0000 (17:54 +0000)
commit19133e96d30e3f80dbae236ef081aedef419a6bf
tree67c997559245ad39f11aad7eba83664a104216b9
parent2cd7c99498b1bcb450c328459cf85a686ce83456
lavf: fix memleaks in avformat_find_stream_info()

When AVFMT_FLAG_NOBUFFER is set, the packets are not added to the
AVFormatContext packet list, so they need to be freed when they are
no longer needed.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavformat/utils.c