# HG changeset patch # User michael # Date 1185915617 0 # Node ID 192360fa9b062155dea3a7023a5acbb513589af6 # Parent d248295bd595820e64eb107fca7579356b12b63f get rid of a useless variable diff -r d248295bd595 -r 192360fa9b06 mpeg12.c --- a/mpeg12.c Tue Jul 31 20:52:49 2007 +0000 +++ b/mpeg12.c Tue Jul 31 21:00:17 2007 +0000 @@ -1663,7 +1663,6 @@ { MpegEncContext *s = &s1->mpeg_enc_ctx; AVCodecContext *avctx= s->avctx; - int ret; const int field_pic= s->picture_structure != PICT_FRAME; const int lowres= s->avctx->lowres; @@ -1738,10 +1737,7 @@ XVMC_init_block(s);//set s->block #endif - ret = mpeg_decode_mb(s, s->block); - - dprintf(s->avctx, "ret=%d\n", ret); - if (ret < 0) + if(mpeg_decode_mb(s, s->block) < 0) return -1; if(s->current_picture.motion_val[0] && !s->encoding){ //note motion_val is normally NULL unless we want to extract the MVs