aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-15 17:20:44 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-19 02:54:24 +0100
commit7e41a658f531ae1fc49bc2441fd79d180a6eaa28 (patch)
treeef60f22cc7c4852d24b436a658779e433a6e8239
parent103965053bb73e6be8b648a442b258d13ca99f88 (diff)
downloadffmpeg-7e41a658f531ae1fc49bc2441fd79d180a6eaa28.tar.gz
avformat/aeadec: Use sample rate as time base
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavformat/aeadec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/aeadec.c b/libavformat/aeadec.c
index 20170a89b3..be18e7b725 100644
--- a/libavformat/aeadec.c
+++ b/libavformat/aeadec.c
@@ -25,6 +25,7 @@
#include "avformat.h"
#include "avio_internal.h"
#include "demux.h"
+#include "internal.h"
#include "pcm.h"
#define AT1_SU_SIZE 212
@@ -91,6 +92,7 @@ static int aea_read_header(AVFormatContext *s)
av_channel_layout_default(&st->codecpar->ch_layout, channels);
st->codecpar->block_align = AT1_SU_SIZE * st->codecpar->ch_layout.nb_channels;
+ avpriv_set_pts_info(st, 64, 1, 44100);
return 0;
}