On Tue, Nov 26, 2013 at 3:52 PM, Anton Khirnov <[email protected]> wrote:
> ---
>  libavcodec/mpeg4videodec.c |    2 +-
>  libavcodec/mpegvideo.h     |    1 -
>  2 files changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
> index 4d045e2..c6b0c06 100644
> --- a/libavcodec/mpeg4videodec.c
> +++ b/libavcodec/mpeg4videodec.c
> @@ -1791,7 +1791,7 @@ static int decode_vol_header(Mpeg4DecContext *ctx, 
> GetBitContext *gb)
>              s->sprite_warping_accuracy  = get_bits(gb, 2);
>              s->sprite_brightness_change = get_bits1(gb);
>              if (ctx->vol_sprite_usage == STATIC_SPRITE)
> -                s->low_latency_sprite = get_bits1(gb);
> +                get_bits1(gb); // low_latency_sprite

nit: skip_bits? I guess it doesn't matter.

>          }
>          // FIXME sadct disable bit if verid!=1 && shape not rect
>
> diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h
> index 30a726f..8250211 100644
> --- a/libavcodec/mpegvideo.h
> +++ b/libavcodec/mpegvideo.h
> @@ -596,7 +596,6 @@ typedef struct MpegEncContext {
>      int reduced_res_vop;
>      int aspect_ratio_info; //FIXME remove
>      int sprite_warping_accuracy;
> -    int low_latency_sprite;
>      int data_partitioning;           ///< data partitioning flag from header
>      int partitioned_frame;           ///< is current frame partitioned
>      int low_delay;                   ///< no reordering needed / has no 
> b-frames
> --

Maybe this could be squashed with 22 as a generic "remove write only
vars", I have no strong preference.
Vittorio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to