Browse Source

tiffenc: merge common code

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n1.0
Paul B Mahol 13 years ago
parent
commit
1806858fdd
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      libavcodec/tiffenc.c

+ 0
- 6
libavcodec/tiffenc.c View File

@@ -251,14 +251,8 @@ static int encode_frame(AVCodecContext * avctx, AVPacket *pkt,

switch (avctx->pix_fmt) {
case PIX_FMT_RGBA64LE:
s->photometric_interpretation = 2;
break;
case PIX_FMT_RGB48LE:
s->photometric_interpretation = 2;
break;
case PIX_FMT_RGBA:
s->photometric_interpretation = 2;
break;
case PIX_FMT_RGB24:
s->photometric_interpretation = 2;
break;


Loading…
Cancel
Save