# HG changeset patch # User takis # Date 1236090744 0 # Node ID 79818b0595c0f2f14740be235c6803019cf03c24 # Parent 5f04afc7af5310515d36a8dc554b201b20705543 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. diff -r 5f04afc7af53 -r 79818b0595c0 h264.c --- 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];