]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/vp3.c
Merge commit '10306e9c5fcc28bd9310a9b38f21540e9e1433e9'
[ffmpeg] / libavcodec / vp3.c
index 354be087ba35868a1a3eab8cac9bfe582718a7f5..1df168bd509d2a0318d7b86bf5c7bd2e7935342c 100644 (file)
@@ -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)