Le 13 août 2014 12:22, "Christophe Gisquet" <christophe.gisq...@gmail.com>
a écrit :
>
> Fixes DLAD_8b_3c_big.dpx from ticket #3692
> ---
>  libavcodec/dpx.c | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c
> index 2ad7527..d4d6833 100644
> --- a/libavcodec/dpx.c
> +++ b/libavcodec/dpx.c
> @@ -232,6 +232,8 @@ static int decode_frame(AVCodecContext *avctx,
>          avctx->pix_fmt = AV_PIX_FMT_GRAY8;
>          break;
>      case 50081:
> +        avctx->pix_fmt = AV_PIX_FMT_BGR24;
> +        break;
>      case 50080:
>          avctx->pix_fmt = AV_PIX_FMT_RGB24;
>          break;
> --
> 1.9.2.msysgit.0
>

Patch dropped: dpx pixel data doesn't seem to take into account endianess
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to