Commit d43384b8 authored by michael's avatar michael

fix demuxing of Video006.3gp


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5006 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d1ef800b
......@@ -1722,8 +1722,10 @@ static int mov_read_header(AVFormatContext *s, AVFormatParameters *ap)
sc->time_rate=1;
av_set_pts_info(s->streams[i], 64, sc->time_rate, sc->time_scale);
assert(s->streams[i]->duration % sc->time_rate == 0);
s->streams[i]->duration /= sc->time_rate;
if(s->streams[i]->duration != AV_NOPTS_VALUE){
assert(s->streams[i]->duration % sc->time_rate == 0);
s->streams[i]->duration /= sc->time_rate;
}
sc->ffindex = i;
sc->is_ff_stream = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment