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>
Thu, 1 Jan 2015 17:13:22 +0000 (18:13 +0100)
commit322f0f5960a743cac47252d90a0f1ea7a025feff
treebf023bd884aecced98fb549954a9a880f13ff7d1
parent5c37ffca59e7eb1b8768f237deb35a9936c1a0a5
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>
libavformat/flvdec.c