[FFmpeg-cvslog] r14402 - trunk/libavcodec/h264.c
michael
subversion
Sat Jul 26 01:36:48 CEST 2008
Author: michael
Date: Sat Jul 26 01:36:48 2008
New Revision: 14402
Log:
Remove mysterious ref->data[0] check.
That what the standard calls non existant is not related to the
value of the data[0] pointer.
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c (original)
+++ trunk/libavcodec/h264.c Sat Jul 26 01:36:48 2008
@@ -2953,10 +2953,10 @@ static int decode_ref_pic_list_reorderin
ref = h->short_ref[i];
assert(ref->reference);
assert(!ref->long_ref);
- if(ref->data[0] != NULL &&
+ if(
ref->frame_num == frame_num &&
(ref->reference & pic_structure)
- ) // ignore non-existing pictures by testing data[0] pointer
+ )
break;
}
if(i>=0)
More information about the ffmpeg-cvslog
mailing list