[FFmpeg-cvslog] r9447 - trunk/libavcodec/wmv2.c

Panagiotis Issaris takis.issaris
Thu Jun 28 11:03:01 CEST 2007


Hi,

Op 27-jun-07, om 16:27 heeft iive het volgende geschreven:

> Author: iive
> Date: Wed Jun 27 16:27:47 2007
> New Revision: 9447
>
> Log:
> Identify the loop_filter flag as such and remove the unused  
> variables in the context.
>
>
> Modified:
>    trunk/libavcodec/wmv2.c
>
> Modified: trunk/libavcodec/wmv2.c
> ====================================================================== 
> ========
> --- trunk/libavcodec/wmv2.c	(original)
> +++ trunk/libavcodec/wmv2.c	Wed Jun 27 16:27:47 2007
> @@ -36,8 +36,6 @@ typedef struct Wmv2Context{
>      MpegEncContext s;
>      int j_type_bit;
>      int j_type;
> -    int flag3;
> -    int flag63;
>      int abt_flag;
>      int abt_type;
>      int abt_type_table[6];
> @@ -74,7 +72,7 @@ static int encode_ext_header(Wmv2Context
>      put_bits(&pb, 11, FFMIN(s->bit_rate/1024, 2047));
>
>      put_bits(&pb, 1, w->mspel_bit=1);
> -    put_bits(&pb, 1, w->flag3=1);
> +    put_bits(&pb, 1, s->loop_filter);
>      put_bits(&pb, 1, w->abt_flag=1);
>      put_bits(&pb, 1, w->j_type_bit=1);
>      put_bits(&pb, 1, w->top_left_mv_flag=0);
> @@ -329,7 +327,7 @@ static int decode_ext_header(Wmv2Context
>      fps                = get_bits(&gb, 5);
>      s->bit_rate        = get_bits(&gb, 11)*1024;
>      w->mspel_bit       = get_bits1(&gb);
> -    w->flag3           = get_bits1(&gb);
> +    s->loop_filter     = get_bits1(&gb);
>      w->abt_flag        = get_bits1(&gb);
>      w->j_type_bit      = get_bits1(&gb);
>      w->top_left_mv_flag= get_bits1(&gb);
> @@
...

Is it possible that this change broke the regression tests?

With friendly regards,
Takis





More information about the ffmpeg-cvslog mailing list