tiffenc: merge common code
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
146d29c744
commit
1806858fdd
1 changed files with 0 additions and 6 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue