diff options
Diffstat (limited to 'libavcodec/vp3.c')
-rw-r--r-- | libavcodec/vp3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vp3.c b/libavcodec/vp3.c index 354be08..1df168b 100644 --- a/libavcodec/vp3.c +++ b/libavcodec/vp3.c @@ -2279,6 +2279,7 @@ static int theora_decode_header(AVCodecContext *avctx, GetBitContext *gb) av_reduce(&avctx->sample_aspect_ratio.num, &avctx->sample_aspect_ratio.den, aspect.num, aspect.den, 1 << 30); + ff_set_sar(avctx, avctx->sample_aspect_ratio); } if (s->theora < 0x030200) |