diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-11-26 11:48:51 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-11-29 14:19:47 +0100 |
commit | 9f0617d2137bb7231b181d74392cd84ef4844cd7 (patch) | |
tree | dd250b9182ef30d785a7963838de934a39e41d52 /libavcodec/mpeg4videodec.c | |
parent | 1a89025793ca73d9685a8ce8e3194efa64dd6844 (diff) | |
download | ffmpeg-9f0617d2137bb7231b181d74392cd84ef4844cd7.tar.gz |
mpeg4videodec: remove write-only sprite variables from MpegEncContext
Diffstat (limited to 'libavcodec/mpeg4videodec.c')
-rw-r--r-- | libavcodec/mpeg4videodec.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c index b6aeecc5c6..a14d2695e5 100644 --- a/libavcodec/mpeg4videodec.c +++ b/libavcodec/mpeg4videodec.c @@ -1769,13 +1769,13 @@ static int decode_vol_header(Mpeg4DecContext *ctx, GetBitContext *gb) if (ctx->vol_sprite_usage == STATIC_SPRITE || ctx->vol_sprite_usage == GMC_SPRITE) { if (ctx->vol_sprite_usage == STATIC_SPRITE) { - s->sprite_width = get_bits(gb, 13); + skip_bits(gb, 13); // sprite_width skip_bits1(gb); /* marker */ - s->sprite_height = get_bits(gb, 13); + skip_bits(gb, 13); // sprite_height skip_bits1(gb); /* marker */ - s->sprite_left = get_bits(gb, 13); + skip_bits(gb, 13); // sprite_left skip_bits1(gb); /* marker */ - s->sprite_top = get_bits(gb, 13); + skip_bits(gb, 13); // sprite_top skip_bits1(gb); /* marker */ } s->num_sprite_warping_points = get_bits(gb, 6); |