100l, I broke H.264 again, forgot one hunk.
[libav.git] / 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