From: Michael Niedermayer <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
---
libavcodec/diracdec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/diracdec.c b/libavcodec/diracdec.c
index 000abf7..f35fe45 100644
--- a/libavcodec/diracdec.c
+++ b/libavcodec/diracdec.c
@@ -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;
--
1.7.9.5
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel