Browse Source

avcodec/hevc: fix duplicate/wrong nal unit check and difference to openhevc_upstream

NAL_BLA_W_RADL instead of NAL_BLA_N_LP

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Mickaël Raulet Michael Niedermayer 12 years ago
parent
commit
09ba986cae
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/hevc.c

+ 1
- 1
libavcodec/hevc.c View File

@@ -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))


Loading…
Cancel
Save