[FFmpeg-devel] [PATCH] loco: fix rgba on big-endian

Michael Niedermayer michaelni at gmx.at
Thu Jan 31 00:02:43 CET 2013


On Wed, Jan 30, 2013 at 10:22:58PM +0100, Piotr Bandurski wrote:
> 

> diff --git a/libavcodec/loco.c b/libavcodec/loco.c
> index 93377e2..9958c14 100644
> --- a/libavcodec/loco.c
> +++ b/libavcodec/loco.c
> @@ -287,7 +287,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
>          break;
>      case LOCO_CRGBA:
>      case LOCO_RGBA:
> -        avctx->pix_fmt = AV_PIX_FMT_RGB32;
> +        avctx->pix_fmt = AV_PIX_FMT_BGRA;

patch applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are best at talking, realize last or never when they are wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130131/9ab8b014/attachment.asc>


More information about the ffmpeg-devel mailing list