Browse Source

avformat/vobsub: use av_make_q().

tags/n2.3
Clément Bœsch 11 years ago
parent
commit
b7dd250b75
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/mpeg.c

+ 1
- 1
libavformat/mpeg.c View File

@@ -757,7 +757,7 @@ static int vobsub_read_header(AVFormatContext *s)
break;
}
timestamp = (hh*3600LL + mm*60LL + ss) * 1000LL + ms + delay;
timestamp = av_rescale_q(timestamp, (AVRational){1,1000}, st->time_base);
timestamp = av_rescale_q(timestamp, av_make_q(1, 1000), st->time_base);

sub = ff_subtitles_queue_insert(&vobsub->q[s->nb_streams - 1], "", 0, 0);
if (!sub) {


Loading…
Cancel
Save