diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-07-31 21:00:17 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-07-31 21:00:17 +0000 |
commit | 4152c5ce144c147da33023cf8dcc49de25cc06fd (patch) | |
tree | 1a999243ac40028c7c5d266d594188460c740c94 /libavcodec/mpeg12.c | |
parent | 7ceab4af353eb540360c20efbc7220116d706490 (diff) | |
download | ffmpeg-4152c5ce144c147da33023cf8dcc49de25cc06fd.tar.gz |
get rid of a useless variable
Originally committed as revision 9844 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index b78ca70585..38b2d776ff 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -1663,7 +1663,6 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y, { 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 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y, 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 |