avformat/img2dec: timestamps are 64bit

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-05-25 15:33:44 +02:00
parent fbc472da29
commit 16f3102f41
1 changed files with 2 additions and 2 deletions

View 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;