[FFmpeg-cvslog] Cosmetics: Reorder pix_fmts in tiffenc.c.

Carl Eugen Hoyos git at videolan.org
Fri Aug 31 11:15:55 CEST 2012


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Fri Aug 31 11:01:02 2012 +0200| [5eb532a9303079fb9a88f25708ea2ebda2ee9446] | committer: Carl Eugen Hoyos

Cosmetics: Reorder pix_fmts in tiffenc.c.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5eb532a9303079fb9a88f25708ea2ebda2ee9446
---

 libavcodec/tiffenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c
index 3293740..c3d0980 100644
--- a/libavcodec/tiffenc.c
+++ b/libavcodec/tiffenc.c
@@ -263,8 +263,8 @@ static int encode_frame(AVCodecContext * avctx, AVPacket *pkt,
 
     switch (avctx->pix_fmt) {
     case PIX_FMT_RGBA64LE:
-    case PIX_FMT_RGB48LE:
     case PIX_FMT_RGBA:
+    case PIX_FMT_RGB48LE:
     case PIX_FMT_RGB24:
         s->photometric_interpretation = 2;
         break;



More information about the ffmpeg-cvslog mailing list