Commit 18255441 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/dpx: fix framerate

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 220a15c0
...@@ -163,7 +163,7 @@ static int decode_frame(AVCodecContext *avctx, ...@@ -163,7 +163,7 @@ static int decode_frame(AVCodecContext *avctx,
if(i) { if(i) {
AVRational q = av_d2q(av_int2float(i), 4096); AVRational q = av_d2q(av_int2float(i), 4096);
if (q.num > 0 && q.den > 0) if (q.num > 0 && q.den > 0)
avctx->time_base = av_inv_q(q); avctx->framerate = q;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment