Skip to content
Snippets Groups Projects
Commit 5bac83da authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

shorten: fix U8 to be planar too

parent 916e40b5
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment