h264 nal decoding fix by (Laurent Aimar <fenrir at via dot ecp dot fr>)

Originally committed as revision 3044 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2004-04-23 19:44:27 +00:00
parent 693399ba55
commit c8470cc173

View File

@ -1065,6 +1065,7 @@ static uint8_t *decode_nal(H264Context *h, uint8_t *src, int *dst_length, int *c
dst[di++]= 0;
dst[di++]= 0;
si+=3;
continue;
}else //next start code
break;
}