Paul B Mahol <[email protected]> writes:

> This reverts commit 8ae28ac0f37a9971bcf0ed82e591ebd582479fde.
>
> FFALIGN doesn't work with non-powers-of-2.
>
> Signed-off-by: Paul B Mahol <[email protected]>
> ---
>  libavcodec/bink.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/libavcodec/bink.c b/libavcodec/bink.c
> index 7a08f49..f8a9b5b 100644
> --- a/libavcodec/bink.c
> +++ b/libavcodec/bink.c
> @@ -146,8 +146,6 @@ enum BlockTypes {
>   */
>  static void init_lengths(BinkContext *c, int width, int bw)
>  {
> -    width = FFALIGN(width, 7);

Should that perhaps have been 8 instead of 7?

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to