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:
712eff4
)
avcodec/hevc: fix duplicate/wrong nal unit check and difference to openhevc_upstream
author
Mickaël Raulet
<mraulet@insa-rennes.fr>
Sun, 20 Oct 2013 20:40:39 +0000
(22:40 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 21 Oct 2013 08:48:24 +0000
(10:48 +0200)
NAL_BLA_W_RADL instead of NAL_BLA_N_LP
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
eb44862
..
a1e3ce4
100644
(file)
--- a/
libavcodec/hevc.c
+++ b/
libavcodec/hevc.c
@@
-1932,7
+1932,7
@@
static int decode_nal_unit(HEVCContext *s, const uint8_t *nal, int length)
if (s->nal_unit_type == NAL_CRA_NUT ||
s->nal_unit_type == NAL_BLA_W_LP ||
s->nal_unit_type == NAL_BLA_N_LP ||
- s->nal_unit_type == NAL_BLA_
N_LP
) {
+ s->nal_unit_type == NAL_BLA_
W_RADL
) {
s->max_ra = s->poc;
} else {
if (IS_IDR(s))