avformat/flvdec: check FLVHeader PreviousTagSize0
authorSteven Liu <lq@chinaffmpeg.org>
Tue, 28 Mar 2017 08:51:28 +0000 (16:51 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Tue, 28 Mar 2017 08:51:28 +0000 (16:51 +0800)
commitc0628919b8c5761d64b1169e8de7584544d15ebf
treed956a32a4de9ca78501ac73b4a1267635237be76
parent3fe7bb2bcf1963c3a7bc0f955ffb77cc3184d8f6
avformat/flvdec: check FLVHeader PreviousTagSize0

refer to SPEC:
Annex E. The FLV File Format said:
E.3 TheFLVFileBody have a table:
Field            Type    Comment
PreviousTagSize0 UI32    Always 0

Reviewed-by: Bela Bodecs <bodecsb@vivanet.hu>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
libavformat/flvdec.c