[FFmpeg-devel] [PATCH 4/4] dpx: fix endianess for RGB 8bits

Christophe Gisquet christophe.gisquet at gmail.com
Wed Aug 13 12:21:54 CEST 2014


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



More information about the ffmpeg-devel mailing list