[FFmpeg-cvslog] r14385 - trunk/libavcodec/h264.c
michael
subversion
Fri Jul 25 13:54:03 CEST 2008
Author: michael
Date: Fri Jul 25 13:54:03 2008
New Revision: 14385
Log:
Assert that long_ref has been cleared for released pics.
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c (original)
+++ trunk/libavcodec/h264.c Fri Jul 25 13:54:03 2008
@@ -2268,6 +2268,7 @@ static int frame_start(H264Context *h){
s->current_picture_ptr->field_poc[0]=
s->current_picture_ptr->field_poc[1]= INT_MAX;
+ assert(s->current_picture_ptr->long_ref==0);
return 0;
}
More information about the ffmpeg-cvslog
mailing list