100l, I broke H.264 again, forgot one hunk.

Thanks to FATE for finding it.

Originally committed as revision 16285 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-12-23 01:11:56 +00:00
parent e08715d391
commit abb27cfb24
1 changed files with 1 additions and 0 deletions

View File

@ -1402,6 +1402,7 @@ static const uint8_t *decode_nal(H264Context *h, const uint8_t *src, int *dst_le
}
break;
}
i-= RS;
}
if(i>=length-1){ //no escaped 0