OSDN Git Service

h264 nal decoding fix by (Laurent Aimar <fenrir at via dot ecp dot fr>)
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 23 Apr 2004 19:44:27 +0000 (19:44 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 23 Apr 2004 19:44:27 +0000 (19:44 +0000)
Originally committed as revision 3044 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 4ae5ae6..fa254e9 100644 (file)
@@ -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;
         }