diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-12-06 15:30:41 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-06 15:30:41 +0100 |
commit | 1adc1b97e1b8d2a40888db3ce1afefb0750e83c5 (patch) | |
tree | 0e92e398bc98a3a8d62346e61c1873ef3f312110 /libavcodec | |
parent | b4ece549471292e8ba5b00c7514c1183b71ff902 (diff) | |
download | ffmpeg-streaming-1adc1b97e1b8d2a40888db3ce1afefb0750e83c5.zip ffmpeg-streaming-1adc1b97e1b8d2a40888db3ce1afefb0750e83c5.tar.gz |
avcodec/hevc_ps: Add context to av_log() call
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/hevc_ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c index 6b5e13f..1337286 100644 --- a/libavcodec/hevc_ps.c +++ b/libavcodec/hevc_ps.c @@ -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; } |