Browse Source

shorten: fix U8 to be planar too

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 13 years ago
parent
commit
5bac83dae8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/shorten.c

+ 1
- 1
libavcodec/shorten.c View File

@@ -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…
Cancel
Save