mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit '72d621069fc301b431fac36b5281699a362562f2'
* commit '72d621069fc301b431fac36b5281699a362562f2': movenc: Add a missed const Merged-by: Matthieu Bouron <matthieu.bouron@stupeflix.com>
This commit is contained in:
commit
7e4e8fdd34
|
@ -4249,7 +4249,7 @@ static int mov_flush_fragment(AVFormatContext *s, int force)
|
|||
for (i = 0; i < s->nb_streams; i++) {
|
||||
MOVTrack *track = &mov->tracks[i];
|
||||
if (!track->end_reliable) {
|
||||
AVPacket *next = ff_interleaved_peek(s, i);
|
||||
const AVPacket *next = ff_interleaved_peek(s, i);
|
||||
if (next) {
|
||||
track->track_duration = next->dts - track->start_dts;
|
||||
if (next->pts != AV_NOPTS_VALUE)
|
||||
|
|
Loading…
Reference in New Issue