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 | 3c202f69cd8fed21878d469d67f51270efb05fae (patch) | |
tree | f5f47a01e4c4a2a00c1a9975af7449543cf2020f | |
parent | 39e574e8afdc3347ac6af9ec6408a3fd03dde741 (diff) |
lavf/alp: set ts_flags
-rw-r--r-- | libavformat/alp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/alp.c b/libavformat/alp.c index 8c6066a59c..cc72279d78 100644 --- a/libavformat/alp.c +++ b/libavformat/alp.c @@ -134,6 +134,8 @@ static int alp_read_header(AVFormatContext *s) par->bits_per_coded_sample; avpriv_set_pts_info(st, 64, 1, par->sample_rate); + st->ts_flags = AVFORMAT_TS_FLAG_DURATION; + return 0; } |