[FFmpeg-cvslog] r17771 - trunk/libavcodec/h264.c
takis
subversion
Tue Mar 3 15:32:25 CET 2009
Author: takis
Date: Tue Mar 3 15:32:24 2009
New Revision: 17771
Log:
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.
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c Tue Mar 3 15:12:41 2009 (r17770)
+++ trunk/libavcodec/h264.c Tue Mar 3 15:32:24 2009 (r17771)
@@ -3708,13 +3708,13 @@ static int decode_slice_header(H264Conte
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];
More information about the ffmpeg-cvslog
mailing list