mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-28 08:08:23 +00:00
tiffenc: merge common code
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
146d29c744
commit
1806858fdd
@ -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…
x
Reference in New Issue
Block a user