mirror of https://git.ffmpeg.org/ffmpeg.git
parent
28d82b7675
commit
4dda5e9b08
|
@ -169,6 +169,7 @@ static av_cold int sunrast_encode_init(AVCodecContext *avctx)
|
|||
case AV_PIX_FMT_PAL8 :
|
||||
s->maptype = RMT_EQUAL_RGB;
|
||||
s->maplength = 3 * 256;
|
||||
/* fall-through */
|
||||
case AV_PIX_FMT_GRAY8:
|
||||
s->depth = 8;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue