[Ffmpeg-cvslog] r8463 - trunk/libavformat/mov.c
bcoudurier
subversion
Wed Mar 21 11:19:38 CET 2007
Author: bcoudurier
Date: Wed Mar 21 11:19:37 2007
New Revision: 8463
Modified:
trunk/libavformat/mov.c
Log:
cosmetics
Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c (original)
+++ trunk/libavformat/mov.c Wed Mar 21 11:19:37 2007
@@ -1513,17 +1513,17 @@ static int mov_read_header(AVFormatConte
sc->time_rate=1;
if(!sc->time_scale)
sc->time_scale= mov->time_scale;
- av_set_pts_info(s->streams[i], 64, sc->time_rate, sc->time_scale);
+ av_set_pts_info(st, 64, sc->time_rate, sc->time_scale);
if (st->codec->codec_type == CODEC_TYPE_AUDIO && sc->stts_count == 1)
st->codec->frame_size = sc->stts_data[0].duration;
- if(s->streams[i]->duration != AV_NOPTS_VALUE){
- assert(s->streams[i]->duration % sc->time_rate == 0);
- s->streams[i]->duration /= sc->time_rate;
+ if(st->duration != AV_NOPTS_VALUE){
+ assert(st->duration % sc->time_rate == 0);
+ st->duration /= sc->time_rate;
}
sc->ffindex = i;
- mov_build_index(mov, s->streams[i]);
+ mov_build_index(mov, st);
}
for(i=0; i<mov->total_streams; i++) {
More information about the ffmpeg-cvslog
mailing list