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:
9c0fe48
)
avcodec/hevc: fix EOB/EOS check
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 19 Oct 2013 22:23:48 +0000
(
00:23
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 19 Oct 2013 22:23:48 +0000
(
00:23
+0200)
Fixes: CID1108575
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hevc.c
patch
|
blob
|
history
diff --git
a/libavcodec/hevc.c
b/libavcodec/hevc.c
index
056018f
..
9ea42a0
100644
(file)
--- a/
libavcodec/hevc.c
+++ b/
libavcodec/hevc.c
@@
-2700,7
+2700,7
@@
static int decode_nal_units(HEVCContext *s, const uint8_t *buf, int length)
goto fail;
hls_nal_unit(s);
- if (s->nal_unit_type == NAL_EOS_NUT || s->nal_unit_type == NAL_EO
S
_NUT)
+ if (s->nal_unit_type == NAL_EOS_NUT || s->nal_unit_type == NAL_EO
B
_NUT)
s->eos = 1;
buf += consumed;