summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-03-19 01:43:44 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-03-19 01:43:44 +0100
commite8f2c0ca2e51409396146ffc069bc33b542ab014 (patch)
treea2fb332149ab3a4b8d6fc6bb3442ada50e84c19a /libavcodec
parent6cabb679d6aef310277b2995a13d53695da3c15a (diff)
downloadffmpeg-streaming-e8f2c0ca2e51409396146ffc069bc33b542ab014.zip
ffmpeg-streaming-e8f2c0ca2e51409396146ffc069bc33b542ab014.tar.gz
h264: print the pps_id when its invalid.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 5785278..1655a41 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2912,7 +2912,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0)
pps_id = get_ue_golomb(&s->gb);
if (pps_id >= MAX_PPS_COUNT) {
- av_log(h->s.avctx, AV_LOG_ERROR, "pps_id out of range\n");
+ av_log(h->s.avctx, AV_LOG_ERROR, "pps_id %d out of range\n", pps_id);
return -1;
}
if (!h0->pps_buffers[pps_id]) {
OpenPOWER on IntegriCloud