]> git.sesse.net Git - ffmpeg/commitdiff
avformat/mov: fix typo in comments
authorZhao Zhili <zhilizhao@tencent.com>
Fri, 18 Sep 2020 14:33:37 +0000 (22:33 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 20 Sep 2020 16:03:52 +0000 (18:03 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/mov.c

index 9462af743aeeb1503ff625b48b01e68ce02d2c51..4f64e96bc0fa853da3b80c736d07e1ce27810311 100644 (file)
@@ -1475,7 +1475,7 @@ static int mov_read_mvhd(MOVContext *c, AVIOContext *pb, MOVAtom atom)
     av_log(c->fc, AV_LOG_TRACE, "time scale = %i\n", c->time_scale);
 
     c->duration = (version == 1) ? avio_rb64(pb) : avio_rb32(pb); /* duration */
-    // set the AVCodecContext duration because the duration of individual tracks
+    // set the AVFormatContext duration because the duration of individual tracks
     // may be inaccurate
     if (c->time_scale > 0 && !c->trex_data)
         c->fc->duration = av_rescale(c->duration, AV_TIME_BASE, c->time_scale);