提交 5bac83da 编写于 作者: M Michael Niedermayer

shorten: fix U8 to be planar too

Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 916e40b5
......@@ -190,7 +190,7 @@ static int init_offset(ShortenContext *s)
switch (s->internal_ftype)
{
case TYPE_U8:
s->avctx->sample_fmt = AV_SAMPLE_FMT_U8;
s->avctx->sample_fmt = AV_SAMPLE_FMT_U8P;
mean = 0x80;
break;
case TYPE_S16HL:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册