avformat/img2dec: timestamps are 64bit
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 25 May 2013 13:33:44 +0000 (15:33 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 5 Jun 2013 12:41:16 +0000 (14:41 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/img2dec.c

index 666138b..b847d6c 100644 (file)
@@ -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;