mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-19 05:55:07 +00:00
shorten: fix U8 to be planar too
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
916e40b5b4
commit
5bac83dae8
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user