diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-01-31 10:59:56 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-02-07 11:46:55 +0100 |
commit | 9c7913f9b4d9d4a0593ea21cdbef54e28b24f668 (patch) | |
tree | 18edc38c5db2ff9e3da260b22d757e291388eb75 | |
parent | a1c375dc066cc396e000d1d9eba2944042be1bdc (diff) |
lavf/aiffdec: set ts_flags
-rw-r--r-- | libavformat/aiffdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |