You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
shorten: fix U8 to be planar too
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -190,7 +190,7 @@ static int init_offset(ShortenContext *s)
|
|||||||
switch (s->internal_ftype)
|
switch (s->internal_ftype)
|
||||||
{
|
{
|
||||||
case TYPE_U8:
|
case TYPE_U8:
|
||||||
s->avctx->sample_fmt = AV_SAMPLE_FMT_U8;
|
s->avctx->sample_fmt = AV_SAMPLE_FMT_U8P;
|
||||||
mean = 0x80;
|
mean = 0x80;
|
||||||
break;
|
break;
|
||||||
case TYPE_S16HL:
|
case TYPE_S16HL:
|
||||||
|
Reference in New Issue
Block a user