---
 libavcodec/h264_parser.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c
index a0308b0..693af00 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;
-- 
2.0.0

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to