mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/mov: Fix the the typo
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
5f2c4d044f
commit
74f408cc8e
@ -3536,7 +3536,7 @@ static void mov_fix_index(MOVContext *mov, AVStream *st)
|
||||
if ((curr_cts + frame_duration >= (edit_list_duration + edit_list_media_time)) &&
|
||||
((flags & AVINDEX_KEYFRAME) || ((st->codecpar->codec_type == AVMEDIA_TYPE_AUDIO)))) {
|
||||
if (ctts_data_old) {
|
||||
// If we have CTTS and this is the the first keyframe after edit elist,
|
||||
// If we have CTTS and this is the first keyframe after edit elist,
|
||||
// wait for one more, because there might be trailing B-frames after this I-frame
|
||||
// that do belong to the edit.
|
||||
if (st->codecpar->codec_type != AVMEDIA_TYPE_AUDIO && found_keyframe_after_edit == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user