mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-05-01 03:56:53 +08:00
h264: dont mess with chroma planes for grayscale h264.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -823,6 +823,7 @@ static av_cold int svq3_decode_init(AVCodecContext *avctx)
|
||||
s->flags2 = avctx->flags2;
|
||||
s->unrestricted_mv = 1;
|
||||
h->is_complex=1;
|
||||
h->sps.chroma_format_idc = 1;
|
||||
avctx->pix_fmt = avctx->codec->pix_fmts[0];
|
||||
|
||||
if (!s->context_initialized) {
|
||||
|
||||
Reference in New Issue
Block a user