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 | 40c012506ac8ce137e2619acdc440f878357a2e2 (patch) | |
tree | 585b23f1d26a0fbc370c4dc0f3f7696cf951b1c0 | |
parent | 957eb630b13987715fb4252b397807ca918cb8a2 (diff) |
lavf/act: set ts_flags
-rw-r--r-- | libavformat/act.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/act.c b/libavformat/act.c index da73fcceca..739ed233bb 100644 --- a/libavformat/act.c +++ b/libavformat/act.c @@ -95,6 +95,8 @@ static int read_header(AVFormatContext *s) st->codecpar->ch_layout.nb_channels = 1; avpriv_set_pts_info(st, 64, 1, 100); + st->ts_flags = AVFORMAT_TS_FLAG_DURATION; + st->codecpar->codec_id=AV_CODEC_ID_G729; avio_seek(pb, 257, SEEK_SET); |