mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-30 22:00:51 +08:00
tiffenc: merge common code
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user