aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-12-23 01:11:56 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-12-23 01:11:56 +0000
commitabb27cfb24f0406c8aca112918fc812f61507f7f (patch)
tree323cf95a64c6430ff120a7d89b708d5dc8e47f55 /libavcodec/h264.c
parente08715d391091e24620c8d3137c59a1e3ef2c5c7 (diff)
downloadffmpeg-abb27cfb24f0406c8aca112918fc812f61507f7f.tar.gz
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
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 1e5ac60520..db4f63ed52 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