[FFmpeg-cvslog] r14403 - trunk/libavcodec/h264.c
michael
subversion
Sat Jul 26 01:39:44 CEST 2008
Author: michael
Date: Sat Jul 26 01:39:43 2008
New Revision: 14403
Log:
Print an error if a reference picture is missing.
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c (original)
+++ trunk/libavcodec/h264.c Sat Jul 26 01:39:43 2008
@@ -3007,8 +3007,10 @@ static int decode_ref_pic_list_reorderin
}
for(list=0; list<h->list_count; list++){
for(index= 0; index < h->ref_count[list]; index++){
- if(!h->ref_list[list][index].data[0])
- h->ref_list[list][index]= s->current_picture;
+ if(!h->ref_list[list][index].data[0]){
+ av_log(h->s.avctx, AV_LOG_ERROR, "Missing reference picture\n");
+ h->ref_list[list][index]= s->current_picture; //FIXME this is not a sensible solution
+ }
}
}
More information about the ffmpeg-cvslog
mailing list