Browse code

avcodec/dpx: fix framerate

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

Michael Niedermayer authored on 2014/10/15 22:57:15
Showing 1 changed files
... ...
@@ -163,7 +163,7 @@ static int decode_frame(AVCodecContext *avctx,
163 163
         if(i) {
164 164
             AVRational q = av_d2q(av_int2float(i), 4096);
165 165
             if (q.num > 0 && q.den > 0)
166
-                avctx->time_base = av_inv_q(q);
166
+                avctx->framerate = q;
167 167
         }
168 168
     }
169 169