[FFmpeg-cvslog] shorten: fix U8 to be planar too
Michael Niedermayer
git at videolan.org
Mon Oct 15 15:10:18 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Oct 15 14:26:32 2012 +0200| [5bac83dae84ae7693acb5a4d09b555729771f11c] | committer: Michael Niedermayer
shorten: fix U8 to be planar too
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5bac83dae84ae7693acb5a4d09b555729771f11c
---
libavcodec/shorten.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c
index c36bb9e..45bc635 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:
More information about the ffmpeg-cvslog
mailing list