diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-29 23:20:19 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-29 23:20:35 +0100 |
commit | cdc21e4abe2a0e9394638bb09086ac2068f0683b (patch) | |
tree | 1eb374ecc67b52b7c34fe15ecb959c369b74d673 /libavcodec | |
parent | 36068709b3ddc7a0e753039a9e0cab884fc6fb8d (diff) | |
parent | 9f0617d2137bb7231b181d74392cd84ef4844cd7 (diff) | |
download | ffmpeg-cdc21e4abe2a0e9394638bb09086ac2068f0683b.tar.gz |
Merge commit '9f0617d2137bb7231b181d74392cd84ef4844cd7'
* commit '9f0617d2137bb7231b181d74392cd84ef4844cd7':
mpeg4videodec: remove write-only sprite variables from MpegEncContext
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mpeg4videodec.c | 8 | ||||
-rw-r--r-- | libavcodec/mpegvideo.h | 4 |
2 files changed, 4 insertions, 8 deletions
diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c index 8f87c345ea..895bf30401 100644 --- a/libavcodec/mpeg4videodec.c +++ b/libavcodec/mpeg4videodec.c @@ -1803,13 +1803,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); diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index f2b5e7a0dd..a95bc2a6a1 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -595,10 +595,6 @@ typedef struct MpegEncContext { uint16_t pb_time; ///< time distance between the last b and p,s,i frame uint16_t pp_field_time; uint16_t pb_field_time; ///< like above, just for interlaced - int sprite_width; - int sprite_height; - int sprite_left; - int sprite_top; int sprite_brightness_change; int num_sprite_warping_points; int real_sprite_warping_points; |