]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/truemotion1.c
x86: rename dsputil.asm to idctdsp.asm
[ffmpeg] / libavcodec / truemotion1.c
index ed7995924076257c4d2e8ddd86c6c472de9fc409..660ecf5413ea380af99efc04896015332caa4f58 100644 (file)
@@ -412,6 +412,8 @@ static int truemotion1_decode_header(TrueMotion1Context *s)
         if ((ret = ff_set_dimensions(s->avctx, s->w, s->h)) < 0)
             return ret;
 
+        ff_set_sar(s->avctx, s->avctx->sample_aspect_ratio);
+
         av_fast_malloc(&s->vert_pred, &s->vert_pred_size, s->avctx->width * sizeof(unsigned int));
         if (!s->vert_pred)
             return AVERROR(ENOMEM);