summaryrefslogtreecommitdiff
path: root/libavcodec/h264_parser.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2015-01-19 12:19:47 +0100
committerAnton Khirnov <anton@khirnov.net>2015-01-27 09:09:56 +0100
commit58ae8d595724150c407ca2c2df3aa4bd5580397c (patch)
tree3029a7d5187aba8613697a825af13f0a5ace6c5f /libavcodec/h264_parser.c
parentecab21ac47d0d4ca604bebf494017ae5090853a8 (diff)
h264_parser: restore a comment lost in 0268a54
Diffstat (limited to 'libavcodec/h264_parser.c')
-rw-r--r--libavcodec/h264_parser.c1
1 files changed, 1 insertions, 0 deletions
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;