diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c index 5d8c4f3341..3b78486bb3 100644 --- a/libavcodec/dpx.c +++ b/libavcodec/dpx.c @@ -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; } }