OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecab21a
)
h264_parser: restore a comment lost in 0268a54
author
Anton Khirnov
<anton@khirnov.net>
Mon, 19 Jan 2015 11:19:47 +0000
(12:19 +0100)
committer
Anton Khirnov
<anton@khirnov.net>
Tue, 27 Jan 2015 08:09:56 +0000
(09:09 +0100)
libavcodec/h264_parser.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264_parser.c
b/libavcodec/h264_parser.c
index
a0308b0
..
693af00
100644
(file)
--- 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;