mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
SVQ3 uses the JPEG variant of YUV 4:2:0.
Fixes issue256 Originally committed as revision 14257 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -2200,6 +2200,10 @@ static av_cold int decode_init(AVCodecContext *avctx){
|
|||||||
// s->decode_mb= ff_h263_decode_mb;
|
// s->decode_mb= ff_h263_decode_mb;
|
||||||
s->quarter_sample = 1;
|
s->quarter_sample = 1;
|
||||||
s->low_delay= 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;
|
avctx->pix_fmt= PIX_FMT_YUV420P;
|
||||||
|
|
||||||
decode_init_vlc();
|
decode_init_vlc();
|
||||||
|
|||||||
Reference in New Issue
Block a user