mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
commit
075dbb970a
@ -1220,7 +1220,7 @@ static void update_initial_durations(AVFormatContext *s, AVStream *st,
|
||||
if (!st->internal->avctx->has_b_frames)
|
||||
pktl->pkt.pts = cur_dts;
|
||||
// if (st->codecpar->codec_type != AVMEDIA_TYPE_AUDIO)
|
||||
pktl->pkt.duration = duration;
|
||||
pktl->pkt.duration = duration;
|
||||
} else
|
||||
break;
|
||||
cur_dts = pktl->pkt.dts + pktl->pkt.duration;
|
||||
|
Loading…
Reference in New Issue
Block a user