ffmpeg | branch: master | Michael Niedermayer <michae...@gmx.at> | Wed Oct 15 
15:57:15 2014 +0200| [18255441dd74e0bde4fbc8f2f6a1a356fc14df6e] | committer: 
Michael Niedermayer

avcodec/dpx: fix framerate

Signed-off-by: Michael Niedermayer <michae...@gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=18255441dd74e0bde4fbc8f2f6a1a356fc14df6e
---

 libavcodec/dpx.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/dpx.c b/libavcodec/dpx.c
index 5d8c4f3..3b78486 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;
         }
     }
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to