You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-06 08:29:25 +02:00
avcodec/dpx: fix framerate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user