[FFmpeg-cvslog] r18471 - trunk/libavcodec/h264.c
michael
subversion
Sun Apr 12 15:58:03 CEST 2009
Author: michael
Date: Sun Apr 12 15:58:03 2009
New Revision: 18471
Log:
Assert that the first list1 entry is a reference frame.
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c Sun Apr 12 15:17:37 2009 (r18470)
+++ trunk/libavcodec/h264.c Sun Apr 12 15:58:03 2009 (r18471)
@@ -993,6 +993,8 @@ static inline void pred_direct_motion(H2
unsigned int sub_mb_type;
int i8, i4;
+ assert(h->ref_list[1][0].reference&3);
+
#define MB_TYPE_16x16_OR_INTRA (MB_TYPE_16x16|MB_TYPE_INTRA4x4|MB_TYPE_INTRA16x16|MB_TYPE_INTRA_PCM)
if(IS_INTERLACED(h->ref_list[1][0].mb_type[mb_xy])){ // AFL/AFR/FR/FL -> AFL/FL
More information about the ffmpeg-cvslog
mailing list