diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-15 14:26:32 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-15 15:09:46 +0200 |
commit | 5bac83dae84ae7693acb5a4d09b555729771f11c (patch) | |
tree | 0cc5fbf889a99cbbecf6fb36aaee8c4d860dcff5 /libavcodec/shorten.c | |
parent | 916e40b5b42ff7409b61a392cb7807c734b32e8f (diff) | |
download | ffmpeg-5bac83dae84ae7693acb5a4d09b555729771f11c.tar.gz |
shorten: fix U8 to be planar too
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/shorten.c')
-rw-r--r-- | libavcodec/shorten.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c index c36bb9ee2b..45bc635cd0 100644 --- a/libavcodec/shorten.c +++ b/libavcodec/shorten.c @@ -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: |