Browse Source

avformat/hevcdec: add more irap cases to hevc_probe()

This fixes fate-hevc-conformance-RAP_A_docomo_4

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Dirk Farin Michael Niedermayer 12 years ago
parent
commit
56cf6151ae
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      libavformat/hevcdec.c

+ 6
- 2
libavformat/hevcdec.c View File

@@ -46,8 +46,12 @@ static int hevc_probe(AVProbeData *p)
case NAL_VPS: vps++; break;
case NAL_SPS: sps++; break;
case NAL_PPS: pps++; break;
case 19:
case 20: irap++; break;
case NAL_BLA_N_LP:
case NAL_BLA_W_LP:
case NAL_BLA_W_RADL:
case NAL_CRA_NUT:
case NAL_IDR_N_LP:
case NAL_IDR_W_RADL: irap++; break;
}
}
}


Loading…
Cancel
Save