OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
916e40b
)
shorten: fix U8 to be planar too
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 15 Oct 2012 12:26:32 +0000
(14:26 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 15 Oct 2012 13:09:46 +0000
(15:09 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/shorten.c
patch
|
blob
|
history
diff --git
a/libavcodec/shorten.c
b/libavcodec/shorten.c
index
c36bb9e
..
45bc635
100644
(file)
--- 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_U8
P
;
mean = 0x80;
break;
case TYPE_S16HL: