[FFmpeg-cvslog] [ffmpeg-radio] avradio/sdrdemux: icarrier just needs phase 2 block size (branch master)
Michael Niedermayer
ffmpeg-git at ffmpeg.org
Wed Jul 19 00:36:35 EEST 2023
This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository libavradio.
The following commit(s) were added to refs/heads/master by this push:
new a98c870775 avradio/sdrdemux: icarrier just needs phase 2 block size
a98c870775 is described below
commit a98c87077539e03ea7c80c183ee7bf0bd19f83d2
Author: Michael Niedermayer <michael at niedermayer.cc>
AuthorDate: Fri Jul 14 23:30:18 2023 +0200
Commit: Michael Niedermayer <michael at niedermayer.cc>
CommitDate: Fri Jul 14 23:30:18 2023 +0200
avradio/sdrdemux: icarrier just needs phase 2 block size
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
---
libavradio/sdrdemux.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavradio/sdrdemux.c b/libavradio/sdrdemux.c
index 5a6a9b8894..a545e7cb4c 100644
--- a/libavradio/sdrdemux.c
+++ b/libavradio/sdrdemux.c
@@ -1543,7 +1543,7 @@ int ff_sdr_common_init(AVFormatContext *s)
sdr->fm_iside = av_malloc(sizeof(*sdr->fm_iside) * 2 * sdr->fm_block_size_p2);
sdr->fm_block = av_malloc(sizeof(*sdr->fm_block) * 2 * sdr->fm_block_size);
sdr->fm_iblock = av_malloc(sizeof(*sdr->fm_iblock) * 2 * sdr->fm_block_size);
- sdr->fm_icarrier = av_malloc(sizeof(*sdr->fm_icarrier) * 2 * sdr->fm_block_size);
+ sdr->fm_icarrier = av_malloc(sizeof(*sdr->fm_icarrier) * 2 * sdr->fm_block_size_p2);
sdr->fm_window = av_malloc(sizeof(*sdr->fm_window) * 2 * sdr->fm_block_size);
if (!sdr->windowed_block || !sdr->len2block || !sdr->block || !sdr->window || !sdr->fm_window_p2 || !sdr->fm_iside ||
More information about the ffmpeg-cvslog
mailing list