mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/img2dec: timestamps are 64bit
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
fbc472da29
commit
16f3102f41
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user