Hi,

On Wed, Jan 4, 2012 at 11:12 AM, Aneesh Dogra <[email protected]> wrote:
> The current code doesn't works unless width is an exact multiple of 16
> ---
>  libavcodec/4xm.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
> index ed42d75..cfb8279 100644
> --- a/libavcodec/4xm.c
> +++ b/libavcodec/4xm.c
> @@ -640,7 +640,7 @@ static int decode_i2_frame(FourXContext *f, const uint8_t 
> *buf, int length){
>             }
>             dst+=16;
>         }
> -        dst += 16*stride - width;
> +        dst += 16 * stride - x;

LGTM, queued with the suggested spelling change.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to