avcodec/h264_mp4toannexb_bsf: add a case when only SPS/PPS is in the stream.
authorBenoit Fouet <benoit.fouet@free.fr>
Mon, 29 Sep 2014 13:18:50 +0000 (15:18 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 30 Sep 2014 09:33:06 +0000 (11:33 +0200)
commit1cf4d2e9be17e4bf1d1831c746e175aca339fa07
tree3b58b9802c3c9242841f802a2fc73cbe55dfb0a7
parent08ccc474b73a3acef5e56060c8174d4e82ace20d
avcodec/h264_mp4toannexb_bsf: add a case when only SPS/PPS is in the stream.

When only SPS or PPS is present in the stream, copy the missing one from
AVCC before insertion to the output stream.

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