flvdec: Remove AVFMTCTX_NOHEADER if both flags and metadata claim 1 stream
authorAsad Mehmood <asad78611@googlemail.com>
Wed, 7 Sep 2011 22:18:07 +0000 (23:18 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 7 Sep 2011 22:26:28 +0000 (00:26 +0200)
commitbcc531f04a0590732d42da133c11c138e8d08b59
tree4aa01d99f7ba38590abac3dc582aa95d1c97a4fb
parentf1b5693027d48a9e448f21595fb9247893c225cf
flvdec: Remove AVFMTCTX_NOHEADER if both flags and metadata claim 1 stream

If there is only 1 stream in an flv avformat_find_stream_info will continually
read until probesize is reached. This should stop it reading if the metadata
also claims there to be 1 stream.
libavformat/flvdec.c