Browse Source

avcodec/dpx: fix framerate

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.5
Michael Niedermayer 11 years ago
parent
commit
18255441dd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/dpx.c

+ 1
- 1
libavcodec/dpx.c View File

@@ -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;
}
}



Loading…
Cancel
Save