[FFmpeg-cvslog] r16253 - trunk/libavcodec/h264.c
michael
subversion
Sun Dec 21 18:49:41 CET 2008
Author: michael
Date: Sun Dec 21 18:49:40 2008
New Revision: 16253
Log:
Remove useless code.
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c (original)
+++ trunk/libavcodec/h264.c Sun Dec 21 18:49:40 2008
@@ -5356,9 +5356,7 @@ static int decode_mb_cabac(H264Context *
if( FRAME_MBAFF && (s->mb_y&1)==0 ){
s->current_picture.mb_type[mb_xy] = MB_TYPE_SKIP;
h->next_mb_skipped = decode_cabac_mb_skip( h, s->mb_x, s->mb_y+1 );
- if(h->next_mb_skipped)
- predict_field_decoding_flag(h);
- else
+ if(!h->next_mb_skipped)
h->mb_mbaff = h->mb_field_decoding_flag = decode_cabac_field_decoding_flag(h);
}
@@ -6550,7 +6548,7 @@ static int decode_slice(struct AVCodecCo
if( ret >= 0 && FRAME_MBAFF ) { //FIXME optimal? or let mb_decode decode 16x32 ?
s->mb_y++;
- if(ret>=0) ret = decode_mb_cabac(h);
+ ret = decode_mb_cabac(h);
if(ret>=0) hl_decode_mb(h);
s->mb_y--;
More information about the ffmpeg-cvslog
mailing list