summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/alp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/alp.c b/libavformat/alp.c
index 4c2e8f0652..e1da312b8c 100644
--- a/libavformat/alp.c
+++ b/libavformat/alp.c
@@ -83,7 +83,7 @@ static int alp_read_header(AVFormatContext *s)
if (hdr.header_size == 8) {
/* .TUN music file */
- hdr.sample_rate = 11025 * hdr.num_channels;
+ hdr.sample_rate = 22050;
} else {
/* .PCM sound file */
hdr.sample_rate = avio_rl32(s->pb);