avcodec/h264_mp4toannexb_bsf: add a case when only SPS/PPS is in the stream

Multimedia / FFmpeg - Benoit Fouet [free.fr] - 30 September 2014 04:33 UTC

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

1cf4d2e avcodec/h264_mp4toannexb_bsf: add a case when only SPS/PPS is in the stream.
libavcodec/h264_mp4toannexb_bsf.c | 57 +++++++++++++++++++++++++++++++------
1 file changed, 48 insertions(+), 9 deletions(-)

  • Share