OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4ece54
)
avcodec/hevc_ps: Add context to av_log() call
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 6 Dec 2014 14:30:41 +0000
(15:30 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 6 Dec 2014 14:30:41 +0000
(15:30 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hevc_ps.c
patch
|
blob
|
history
diff --git
a/libavcodec/hevc_ps.c
b/libavcodec/hevc_ps.c
index
6b5e13f
..
1337286
100644
(file)
--- 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;
}