Imported Debian version 2.5.0~trusty1.1
[deb_ffmpeg.git] / ffmpeg / libavcodec / dpx.c
index 5d8c4f3341caa4793669c36b3a9f9a0b4141a8c8..3b78486bb36846d1e511d802d1e6bf24419f5f93 100644 (file)
@@ -163,7 +163,7 @@ static int decode_frame(AVCodecContext *avctx,
         if(i) {
             AVRational q = av_d2q(av_int2float(i), 4096);
             if (q.num > 0 && q.den > 0)
-                avctx->time_base = av_inv_q(q);
+                avctx->framerate = q;
         }
     }