diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-07-06 02:00:32 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-07-06 19:39:32 +0000 |
commit | 1806858fdd92d47e65ffec8bfbf06076f5b15268 (patch) | |
tree | 46a31cf0f3131a8cb50f9eaf049ac4ac58936799 | |
parent | 146d29c7442f365269876b1b6582cf152486a4ef (diff) | |
download | ffmpeg-1806858fdd92d47e65ffec8bfbf06076f5b15268.tar.gz |
tiffenc: merge common code
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavcodec/tiffenc.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index fa55aa653a..30cd321b75 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -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; |