[FFmpeg-cvslog] h264_parser: restore a comment lost in 0268a54

Anton Khirnov git at videolan.org
Tue Jan 27 16:02:01 CET 2015


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Jan 19 12:19:47 2015 +0100| [58ae8d595724150c407ca2c2df3aa4bd5580397c] | committer: Anton Khirnov

h264_parser: restore a comment lost in 0268a54

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=58ae8d595724150c407ca2c2df3aa4bd5580397c
---

 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;



More information about the ffmpeg-cvslog mailing list