[FFmpeg-devel] [PATCH 3/4] avformat/img2dec: timestamps are 64bit

Michael Niedermayer michaelni at gmx.at
Sat May 25 15:58:03 CEST 2013


Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 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;
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list