h264_mp4toannexb_bsf: Fix start code size of parameter sets.
authorYusuke Nakamura <muken.the.vfrmaniac@gmail.com>
Mon, 12 Feb 2018 16:45:05 +0000 (01:45 +0900)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 13 Mar 2018 00:34:42 +0000 (01:34 +0100)
commitaf7e953a595690caf4127957f42d639641035411
tree344b5bd82d857b92a31300421f03c64811ffb9c4
parent68f5384804fa86af2737f7b08799c9ca2c306db4
h264_mp4toannexb_bsf: Fix start code size of parameter sets.

Any parameter set shall have start code of at least 4 byte size.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/h264_mp4toannexb_bsf.c
tests/ref/fate/h264-bsf-mp4toannexb
tests/ref/fate/h264_mp4toannexb_ticket2991
tests/ref/fate/h264_mp4toannexb_ticket5927
tests/ref/fate/h264_mp4toannexb_ticket5927_2
tests/ref/fate/segment-mp4-to-ts