OSDN Git Service

h264_parser: restore a comment lost in 0268a54
authorAnton Khirnov <anton@khirnov.net>
Mon, 19 Jan 2015 11:19:47 +0000 (12:19 +0100)
committerAnton Khirnov <anton@khirnov.net>
Tue, 27 Jan 2015 08:09:56 +0000 (09:09 +0100)
libavcodec/h264_parser.c

index a0308b0..693af00 100644 (file)
@@ -83,6 +83,7 @@ static int h264_find_frame_end(H264ParseContext *p, const uint8_t *buf,
             }
             state = 7;
         } else {
+            // first_mb_in_slice is 0, probably the first nal of a new slice
             if (buf[i] & 0x80)
                 goto found;
             state = 7;