Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> --- libavradio/sdrdemux.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavradio/sdrdemux.c b/libavradio/sdrdemux.c index fd3f5dd52d..e45d00724b 100644 --- a/libavradio/sdrdemux.c +++ b/libavradio/sdrdemux.c @@ -1148,7 +1148,6 @@ static int setup_stream(SDRContext *sdr, int stream_index, Station *station) AVFormatContext *s = sdr->avfmt; AVStream *st = s->streams[stream_index]; SDRStream *sst = st->priv_data; - int ret; //For now we expect each station to be only demodulated once, nothing should break though if its done more often av_assert0(station->stream == NULL || station->stream == sst); @@ -1163,9 +1162,9 @@ static int setup_stream(SDRContext *sdr, int stream_index, Station *station) station->stream = sst; if (st->codecpar->codec_type == AVMEDIA_TYPE_AUDIO) { + int block_size; free_stream(sdr, stream_index); - int block_size; if (sst->station->modulation == FM) { block_size = sdr->fm_block_size; } else -- 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".