On 24 Nov 2014, at 02:38, Vittorio Giovara <vittorio.giov...@gmail.com> wrote:

> CC: libav-sta...@libav.org
> Bug-Id: CID 1245699 / CID 1245700
> ---
> libavcodec/vc1_pred.c | 9 ++-------
> 1 file changed, 2 insertions(+), 7 deletions(-)
> 
> diff --git a/libavcodec/vc1_pred.c b/libavcodec/vc1_pred.c
> index 6a54fe4..87efcd2 100644
> --- a/libavcodec/vc1_pred.c
> +++ b/libavcodec/vc1_pred.c
> @@ -648,7 +648,7 @@ void ff_vc1_pred_mv_intfr(VC1Context *v, int n, int 
> dmv_x, int dmv_y,
>                 } else if (c_valid) {
>                     px = C[0];
>                     py = C[1];
> -                } else px = py = 0;
> +                }
>             } else {
>                 if (field_a && a_valid) {
>                     px = A[0];
> @@ -656,12 +656,7 @@ void ff_vc1_pred_mv_intfr(VC1Context *v, int n, int 
> dmv_x, int dmv_y,
>                 } else if (field_b && b_valid) {
>                     px = B[0];
>                     py = B[1];
> -                } else if (c_valid) {
> -                    px = C[0];
> -                    py = C[1];
> -                } else
> -                    px = py = 0;
> -            }
> +                }            }

Two closing braces on the same line? If this is correct, it looks as though the 
block could use a re-indent?

Tim
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to