Browse Source

avcodec/hevc_ps: Add context to av_log() call

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.6
Michael Niedermayer 10 years ago
parent
commit
1adc1b97e1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/hevc_ps.c

+ 1
- 1
libavcodec/hevc_ps.c View File

@@ -952,7 +952,7 @@ int ff_hevc_decode_nal_sps(HEVCContext *s)
if (sps->long_term_ref_pics_present_flag) {
sps->num_long_term_ref_pics_sps = get_ue_golomb_long(gb);
if (sps->num_long_term_ref_pics_sps > 31U) {
av_log(0, AV_LOG_ERROR, "num_long_term_ref_pics_sps %d is out of range.\n",
av_log(s->avctx, AV_LOG_ERROR, "num_long_term_ref_pics_sps %d is out of range.\n",
sps->num_long_term_ref_pics_sps);
goto err;
}


Loading…
Cancel
Save