mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-28 02:12:28 +00:00
avcodec/diracdec: fix aspect ratio (it was lost after efcc8fddd6
)
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
02e9ba42eb
commit
ffad6f6b89
@ -1990,6 +1990,7 @@ static int dirac_decode_data_unit(AVCodecContext *avctx, const uint8_t *buf, int
|
||||
}
|
||||
|
||||
ff_set_dimensions(avctx, dsh->width, dsh->height);
|
||||
ff_set_sar(avctx, dsh->sample_aspect_ratio);
|
||||
avctx->pix_fmt = dsh->pix_fmt;
|
||||
avctx->color_range = dsh->color_range;
|
||||
avctx->color_trc = dsh->color_trc;
|
||||
|
Loading…
Reference in New Issue
Block a user