Browse Source

hevc: fix temporal_id(cherry picked from commit 5eac0df49d)

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

+ 5
- 5
libavcodec/hevc.c View File

@@ -459,11 +459,11 @@ static int hls_slice_header(HEVCContext *s)
/* 8.3.1 */
if (s->temporal_id == 0 &&
s->nal_unit_type != NAL_TRAIL_N &&
s->nal_unit_type != NAL_TSA_N &&
s->nal_unit_type != NAL_STSA_N &&
s->nal_unit_type != NAL_TRAIL_N &&
s->nal_unit_type != NAL_RADL_N &&
s->nal_unit_type != NAL_RADL_R &&
s->nal_unit_type != NAL_TSA_N &&
s->nal_unit_type != NAL_STSA_N &&
s->nal_unit_type != NAL_RADL_N &&
s->nal_unit_type != NAL_RADL_R &&
s->nal_unit_type != NAL_RASL_N &&
s->nal_unit_type != NAL_RASL_R)
s->pocTid0 = s->poc;



Loading…
Cancel
Save