Reinhard Tartler <siret...@gmail.com> writes:

> This patch is supposed to fix it:
>
> http://pastebin.com/6YNnNZwy:
>
> commit 2b99029ca865665e51b2111a7dd5c564f160ff3b
> Author: Luca Barbato <lu_z...@gentoo.org>
> Date:   Sun Oct 13 15:34:47 2013 +0200
>
>     ffv1: Assume bitdepth 0 means 8bit
>
>     CC: libav-sta...@libav.org
>
> diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c
> index 584755d..f0a409f 100644
> --- a/libavcodec/ffv1dec.c
> +++ b/libavcodec/ffv1dec.c
> @@ -669,6 +669,7 @@ static int read_header(FFV1Context *f)
>              return AVERROR(ENOSYS);
>          }
>          switch (f->avctx->bits_per_raw_sample) {
> +        case 0:
>          case 8:
>              f->avctx->pix_fmt = AV_PIX_FMT_RGB32;
>              break;
>
>
> Could you test it?

I tested it. This patch fixes

 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=726189

which makes sense, given the code that it touches. THIS bug remains
unfixed, however, since it deals with encoding.

Thanks.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to