Fix a bug causing the generated stream to be corrupt if the buffer
authorAndreas Öman <andreas@lonelycoder.com>
Wed, 9 Jan 2008 08:38:28 +0000 (08:38 +0000)
committerAndreas Öman <andreas@lonelycoder.com>
Wed, 9 Jan 2008 08:38:28 +0000 (08:38 +0000)
commit48aecf5a7dd8e914d44cb4210a09172dbd8d5d86
treed54ffbb02b7b4ed5f5dc5e4fd669a5bb14ac46b6
parent8b389f15cd6fb06bb43c277253837e13e3728f2b
Fix a bug causing the generated stream to be corrupt if the buffer
contains NAL units previous to the IDR where the SPS/PPS was inserted.

Ok:ed by Benoit on irc.

Originally committed as revision 11482 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264_mp4toannexb_bsf.c