[MPlayer-dev-eng] [PATCH]Fix FFmpeg tiff RGBA on big endian

Carl Eugen Hoyos cehoyos at ag.or.at
Sun Jan 22 22:40:50 CET 2012


Hi!

Attached fixes playback of RGBA tiff on BE.
Alternative might be to completely remove RGB32 and friends but this is the 
smaller patch...

Please comment, Carl Eugen
-------------- next part --------------
Index: etc/codecs.conf
===================================================================
--- etc/codecs.conf	(revision 34586)
+++ etc/codecs.conf	(working copy)
@@ -580,7 +580,7 @@
   fourcc "tiff" ; for TIFF-encoded QuickTime files
   driver ffmpeg
   dll tiff
-  out BGR32,BGR24,BGR8,Y800,RGB48BE,RGB48LE,RGB32,RGB24,RGB8
+  out BGR8,Y800,RGB48BE,RGB48LE,RGBA,RGB24
 
 videocodec ffpcx
   info "FFmpeg PCX"
Index: codec-cfg.c
===================================================================
--- codec-cfg.c	(revision 34582)
+++ codec-cfg.c	(working copy)
@@ -206,6 +206,7 @@
     {"RGB16",       IMGFMT_RGB16},
     {"RGB24",       IMGFMT_RGB24},
     {"RGB32",       IMGFMT_RGB32},
+    {"RGBA",        IMGFMT_RGBA},
     {"BGR4",        IMGFMT_BGR4},
     {"BGR8",        IMGFMT_BGR8},
     {"BGR15",       IMGFMT_BGR15},


More information about the MPlayer-dev-eng mailing list