Browse Source

avformat/img2dec: timestamps are 64bit

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.0
Michael Niedermayer 12 years ago
parent
commit
16f3102f41
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavformat/img2dec.c

+ 2
- 2
libavformat/img2dec.c View File

@@ -226,9 +226,9 @@ static int img_read_header(AVFormatContext *s1)
} }


if (s->ts_from_file) if (s->ts_from_file)
avpriv_set_pts_info(st, 60, 1, 1);
avpriv_set_pts_info(st, 64, 1, 1);
else 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) { if (s->width && s->height) {
st->codec->width = s->width; st->codec->width = s->width;


Loading…
Cancel
Save