Module: libav
Branch: master
Commit: 58ae8d595724150c407ca2c2df3aa4bd5580397c

Author:    Anton Khirnov <[email protected]>
Committer: Anton Khirnov <[email protected]>
Date:      Mon Jan 19 12:19:47 2015 +0100

h264_parser: restore a comment lost in 0268a54

---

 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;

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

Reply via email to