OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e4cd83
)
SVQ3 uses the JPEG variant of YUV 4:2:0.
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 16 Jul 2008 17:48:47 +0000
(17:48 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 16 Jul 2008 17:48:47 +0000
(17:48 +0000)
Fixes issue256
Originally committed as revision 14257 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
a030959
..
c46b01e
100644
(file)
--- a/
libavcodec/h264.c
+++ b/
libavcodec/h264.c
@@
-2200,6
+2200,10
@@
static av_cold int decode_init(AVCodecContext *avctx){
// s->decode_mb= ff_h263_decode_mb;
s->quarter_sample = 1;
s->low_delay= 1;
+
+ if(avctx->codec_id == CODEC_ID_SVQ3)
+ avctx->pix_fmt= PIX_FMT_YUVJ420P;
+ else
avctx->pix_fmt= PIX_FMT_YUV420P;
decode_init_vlc();