[FFmpeg-cvslog] r14519 - trunk/libavcodec/h264.c

michael subversion
Sun Aug 3 15:11:14 CEST 2008


Author: michael
Date: Sun Aug  3 15:11:14 2008
New Revision: 14519

Log:
Remove useless mb_field_decoding_flag setting code that was at the wrong spot.


Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Sun Aug  3 15:11:14 2008
@@ -4348,8 +4348,7 @@ static int decode_mb_cavlc(H264Context *
     if(FRAME_MBAFF){
         if( (s->mb_y&1) == 0 )
             h->mb_mbaff = h->mb_field_decoding_flag = get_bits1(&s->gb);
-    }else
-        h->mb_field_decoding_flag= (s->picture_structure!=PICT_FRAME);
+    }
 
     h->prev_mb_skipped= 0;
 
@@ -5467,8 +5466,7 @@ static int decode_mb_cabac(H264Context *
         if( (s->mb_y&1) == 0 )
             h->mb_mbaff =
             h->mb_field_decoding_flag = decode_cabac_field_decoding_flag(h);
-    }else
-        h->mb_field_decoding_flag= (s->picture_structure!=PICT_FRAME);
+    }
 
     h->prev_mb_skipped = 0;
 




More information about the ffmpeg-cvslog mailing list