summaryrefslogtreecommitdiff
path: root/libavcodec/dpx.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-10-15 15:57:15 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-10-15 16:08:36 +0200
commit18255441dd74e0bde4fbc8f2f6a1a356fc14df6e (patch)
tree4b761fa00d73c7b7cc78a4890ebe3f89e4b33646 /libavcodec/dpx.c
parent220a15c074876b04760e60aeae5badc7412b2f83 (diff)
avcodec/dpx: fix framerate
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dpx.c')
-rw-r--r--libavcodec/dpx.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}