Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc>
---
 libavformat/sdrdemux.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavformat/sdrdemux.c b/libavformat/sdrdemux.c
index 3f3390049c..0e327f4860 100644
--- a/libavformat/sdrdemux.c
+++ b/libavformat/sdrdemux.c
@@ -1043,13 +1043,13 @@ static int demodulate_fm(SDRContext *sdr, Station 
*station, AVStream *st, AVPack
     double carrier19_i_exact;
     int W= 5;
     double dc = 0, dcw = 0;
-    int len2 = FFMIN(index, 2*sdr->block_size - index);
+    int lenmax = FFMIN(index, 2*sdr->block_size - index);
 
     av_assert0(!st || (sst == station->stream && sst->station == station));
 
     //If only some of the bandwidth is available, just try with less
-    if (len2 < len && len2 > len/2)
-        len = len2;
+    if (lenmax < len && lenmax > len/2)
+        len = lenmax;
 
     if (index + len >= 2*sdr->block_size ||
         index - len < 0 ||
-- 
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".

Reply via email to