Mercurial > libavcodec.hg
diff h264.c @ 9112:79818b0595c0 libavcodec
When a H.264 stream references a PPS or SPS id which doesn't exist, instead of
just saying that a non-existing id is referenced, show the value of the id.
author | takis |
---|---|
date | Tue, 03 Mar 2009 14:32:24 +0000 |
parents | fdc0db1e0087 |
children | 65141aec8b05 |
line wrap: on
line diff
--- a/h264.c Tue Mar 03 13:43:24 2009 +0000 +++ b/h264.c Tue Mar 03 14:32:24 2009 +0000 @@ -3708,13 +3708,13 @@ return -1; } if(!h0->pps_buffers[pps_id]) { - av_log(h->s.avctx, AV_LOG_ERROR, "non-existing PPS referenced\n"); + av_log(h->s.avctx, AV_LOG_ERROR, "non-existing PPS %u referenced\n", pps_id); return -1; } h->pps= *h0->pps_buffers[pps_id]; if(!h0->sps_buffers[h->pps.sps_id]) { - av_log(h->s.avctx, AV_LOG_ERROR, "non-existing SPS referenced\n"); + av_log(h->s.avctx, AV_LOG_ERROR, "non-existing SPS %u referenced\n", h->pps.sps_id); return -1; } h->sps = *h0->sps_buffers[h->pps.sps_id];