diff --git a/libavdevice/dshow.c b/libavdevice/dshow.c index 977890f152..2cd7c2153a 100644 --- a/libavdevice/dshow.c +++ b/libavdevice/dshow.c @@ -1000,7 +1000,7 @@ dshow_cycle_formats(AVFormatContext *avctx, enum dshowDeviceType devtype, " ch=%2u, bits=%2u, rate=%6lu\n", fx->nChannels, fx->wBitsPerSample, fx->nSamplesPerSec ); - continue; + goto next; } if ( (requested_sample_rate && requested_sample_rate != fx->nSamplesPerSec) ||