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; } -- 2.31.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".