On Thu, Sep 25, 2014 at 6:47 PM, Tim Walker <[email protected]> wrote:

> This appears to be the intended behavior.
> ---
>  libavcodec/vc1dec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
> index 8ad4f0f..35245ab 100644
> --- a/libavcodec/vc1dec.c
> +++ b/libavcodec/vc1dec.c
> @@ -3676,7 +3676,7 @@ static int vc1_decode_p_mb(VC1Context *v)
>                      vc1_mc_4mv_chroma(v, 0);
>                  v->mb_type[0][s->block_index[i]] = is_intra[i];
>                  if (!coded_inter)
> -                    coded_inter = !is_intra[i] & is_coded[i];
> +                    coded_inter = !is_intra[i] && is_coded[i];
>              }
>              // if there are no coded blocks then don't do anything more
>              dst_idx = 0;
> --
> 1.9.3 (Apple Git-50)
>
>
>
Since both only ever contained 0/1, same result, so OK.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to