[FFmpeg-cvslog] r14257 - trunk/libavcodec/h264.c
michael
subversion
Wed Jul 16 19:48:48 CEST 2008
Author: michael
Date: Wed Jul 16 19:48:47 2008
New Revision: 14257
Log:
SVQ3 uses the JPEG variant of YUV 4:2:0.
Fixes issue256
Modified:
trunk/libavcodec/h264.c
Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c (original)
+++ trunk/libavcodec/h264.c Wed Jul 16 19:48:47 2008
@@ -2200,6 +2200,10 @@ static av_cold int decode_init(AVCodecCo
// 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();
More information about the ffmpeg-cvslog
mailing list