From 58ae8d595724150c407ca2c2df3aa4bd5580397c Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 19 Jan 2015 12:19:47 +0100 Subject: h264_parser: restore a comment lost in 0268a54 --- libavcodec/h264_parser.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec') diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c index a0308b08a7..693af00309 100644 --- a/libavcodec/h264_parser.c +++ b/libavcodec/h264_parser.c @@ -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; -- cgit v1.2.3