summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-04-23 19:44:27 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-04-23 19:44:27 +0000
commitc8470cc1732c761efc372511556068222038db23 (patch)
treeac036d8a2b1b3983d3599475142c1b4b5044fd15 /libavcodec/h264.c
parent693399ba556c0b1bb6482545f6ba8ed2f84dc36b (diff)
h264 nal decoding fix by (Laurent Aimar <fenrir at via dot ecp dot fr>)
Originally committed as revision 3044 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 4ae5ae61f6..fa254e93b5 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -1065,6 +1065,7 @@ static uint8_t *decode_nal(H264Context *h, uint8_t *src, int *dst_length, int *c
dst[di++]= 0;
dst[di++]= 0;
si+=3;
+ continue;
}else //next start code
break;
}