[FFmpeg-cvslog] avformat/img2dec: timestamps are 64bit

Michael Niedermayer git at videolan.org
Wed Jun 5 14:47:39 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat May 25 15:33:44 2013 +0200| [16f3102f41031f70a24cf25836b1b7ab972c1265] | committer: Michael Niedermayer

avformat/img2dec: timestamps are 64bit

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

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

 libavformat/img2dec.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index 666138b..b847d6c 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -226,9 +226,9 @@ static int img_read_header(AVFormatContext *s1)
     }
 
     if (s->ts_from_file)
-        avpriv_set_pts_info(st, 60, 1, 1);
+        avpriv_set_pts_info(st, 64, 1, 1);
     else
-        avpriv_set_pts_info(st, 60, s->framerate.den, s->framerate.num);
+        avpriv_set_pts_info(st, 64, s->framerate.den, s->framerate.num);
 
     if (s->width && s->height) {
         st->codec->width  = s->width;



More information about the ffmpeg-cvslog mailing list