100l, I broke H.264 again, forgot one hunk.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 23 Dec 2008 01:11:56 +0000 (01:11 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 23 Dec 2008 01:11:56 +0000 (01:11 +0000)
Thanks to FATE for finding it.

Originally committed as revision 16285 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 1e5ac60..db4f63e 100644 (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