On 09/07/2011 04:50 PM, Justin Ruggles wrote:

> Based on a patch by Stefano Sabatini.
> git.videolan.org/ffmpeg.git
> commit e280a4da2ae6fd44f0079358ecc5aa08e388a5ed
> ---
>  libavcodec/8svx.c |   34 ++++++++++++++++++++++++----------
>  1 files changed, 24 insertions(+), 10 deletions(-)
> 
> diff --git a/libavcodec/8svx.c b/libavcodec/8svx.c
> index 4b60377..3155171 100644
> --- a/libavcodec/8svx.c
> +++ b/libavcodec/8svx.c


> @@ -56,20 +76,14 @@ static int eightsvx_decode_frame(AVCodecContext *avctx, 
> void *data, int *data_si
>          return -1;
>  
>      if(avctx->frame_number == 0) {
> -        esc->fib_acc = buf[1] << 8;
> -        buf_size -= 2;
> -        buf += 2;
> +        esc->fib_acc = buf[0] << 8;
> +        buf_size -= 1;
> +        buf += 1;
>      }


oops. I don't know how that change got in there...
The initial value is in the 2nd byte. The first byte is padding.

Removed that change locally.

-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to