[FFmpeg-devel] [PATCH 4/4] dpx: fix endianess for RGB 8bits
Christophe Gisquet
christophe.gisquet at gmail.com
Sun Aug 17 12:37:50 CEST 2014
Le 13 août 2014 12:22, "Christophe Gisquet" <christophe.gisquet at 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
More information about the ffmpeg-devel
mailing list