avformat/flvdec: do not inject dts=0 metadata packets which failed to be parsed into...
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 1 Jan 2015 17:07:24 +0000 (18:07 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 9 Jan 2015 16:19:10 +0000 (17:19 +0100)
commiteac0451e47381300fc2944268faf9cda550e6481
tree179ac608481d52802ec89c6b0816375d29a6ce0d
parent68c63470895d8b8016931af2f94e1dd29b4d8b26
avformat/flvdec: do not inject dts=0 metadata packets which failed to be parsed into a new data stream

Such data streams (which then contain no other packets except the faulty one)
confuse some user applications, like VLC
Works around vlcticket 12389

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 322f0f5960a743cac47252d90a0f1ea7a025feff)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/flvdec.c