From 9c7913f9b4d9d4a0593ea21cdbef54e28b24f668 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 31 Jan 2024 10:59:56 +0100 Subject: lavf/aiffdec: set ts_flags --- libavformat/aiffdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/aiffdec.c b/libavformat/aiffdec.c index 5314d159ef..32302d84da 100644 --- a/libavformat/aiffdec.c +++ b/libavformat/aiffdec.c @@ -380,6 +380,7 @@ got_sound: avpriv_set_pts_info(st, 64, 1, st->codecpar->sample_rate); st->start_time = 0; st->duration = st->nb_frames * aiff->block_duration; + st->ts_flags = AVFORMAT_TS_FLAG_DURATION; /* Position the stream at the first block */ avio_seek(pb, offset, SEEK_SET); -- cgit v1.2.3