Commit 8cebc9ea authored by Anton Khirnov's avatar Anton Khirnov

mpeg4videodec: remove a write-only variable from MpegEncContext

parent b1aacd56
...@@ -1791,7 +1791,7 @@ static int decode_vol_header(Mpeg4DecContext *ctx, GetBitContext *gb) ...@@ -1791,7 +1791,7 @@ static int decode_vol_header(Mpeg4DecContext *ctx, GetBitContext *gb)
s->sprite_warping_accuracy = get_bits(gb, 2); s->sprite_warping_accuracy = get_bits(gb, 2);
s->sprite_brightness_change = get_bits1(gb); s->sprite_brightness_change = get_bits1(gb);
if (ctx->vol_sprite_usage == STATIC_SPRITE) if (ctx->vol_sprite_usage == STATIC_SPRITE)
s->low_latency_sprite = get_bits1(gb); skip_bits1(gb); // low_latency_sprite
} }
// FIXME sadct disable bit if verid!=1 && shape not rect // FIXME sadct disable bit if verid!=1 && shape not rect
......
...@@ -596,7 +596,6 @@ typedef struct MpegEncContext { ...@@ -596,7 +596,6 @@ typedef struct MpegEncContext {
int reduced_res_vop; int reduced_res_vop;
int aspect_ratio_info; //FIXME remove int aspect_ratio_info; //FIXME remove
int sprite_warping_accuracy; int sprite_warping_accuracy;
int low_latency_sprite;
int data_partitioning; ///< data partitioning flag from header int data_partitioning; ///< data partitioning flag from header
int partitioned_frame; ///< is current frame partitioned int partitioned_frame; ///< is current frame partitioned
int low_delay; ///< no reordering needed / has no b-frames int low_delay; ///< no reordering needed / has no b-frames
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment