mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-08 19:07:09 +00:00
get rid of a useless variable
Originally committed as revision 9844 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7ceab4af35
commit
4152c5ce14
@ -1663,7 +1663,6 @@ static int mpeg_decode_slice(Mpeg1Context *s1, int mb_y,
|
|||||||
{
|
{
|
||||||
MpegEncContext *s = &s1->mpeg_enc_ctx;
|
MpegEncContext *s = &s1->mpeg_enc_ctx;
|
||||||
AVCodecContext *avctx= s->avctx;
|
AVCodecContext *avctx= s->avctx;
|
||||||
int ret;
|
|
||||||
const int field_pic= s->picture_structure != PICT_FRAME;
|
const int field_pic= s->picture_structure != PICT_FRAME;
|
||||||
const int lowres= s->avctx->lowres;
|
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
|
XVMC_init_block(s);//set s->block
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ret = mpeg_decode_mb(s, s->block);
|
if(mpeg_decode_mb(s, s->block) < 0)
|
||||||
|
|
||||||
dprintf(s->avctx, "ret=%d\n", ret);
|
|
||||||
if (ret < 0)
|
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
if(s->current_picture.motion_val[0] && !s->encoding){ //note motion_val is normally NULL unless we want to extract the MVs
|
if(s->current_picture.motion_val[0] && !s->encoding){ //note motion_val is normally NULL unless we want to extract the MVs
|
||||||
|
Loading…
Reference in New Issue
Block a user