提交 4dda5e9b 编写于 作者: V Vittorio Giovara

sunrastenc: mention missing break

Bug-Id: CID 732231
上级 28d82b76
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册