This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository libavradio.
commit f10f5c5ef92f91d96304c7f04e1415e274c8619d Author: Michael Niedermayer <mich...@niedermayer.cc> AuthorDate: Sat Jul 29 16:11:32 2023 +0200 Commit: Michael Niedermayer <mich...@niedermayer.cc> CommitDate: Sun Jul 30 23:11:45 2023 +0200 avradio/avformat/sdrdemux: Avoid uninitialized memory on mono -> stereo switch Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> --- libavformat/sdrdemux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/sdrdemux.c b/libavformat/sdrdemux.c index 69349add7b..8f0f4657f3 100644 --- a/libavformat/sdrdemux.c +++ b/libavformat/sdrdemux.c @@ -1150,6 +1150,8 @@ static int demodulate_fm(SDRContext *sdr, Station *station, AVStream *st, AVPack sst->out_buf[2*i+0] = m + q; sst->out_buf[2*i+1] = m - q; } else { + newbuf[2*i+1] = 0; + sst->out_buf[2*i+0] = sst->out_buf[2*i+1] = m; } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".