From: Michael Niedermayer Date: Tue, 23 Dec 2008 01:11:56 +0000 (+0000) Subject: 100l, I broke H.264 again, forgot one hunk. X-Git-Tag: v0.5~1506 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=abb27cfb24f0406c8aca112918fc812f61507f7f;p=platform%2Fupstream%2Flibav.git 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 --- diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 1e5ac60..db4f63e 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -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