avdevice/dshow: Cleanup also on av_log case
Fixes: CID1598550 Resource leak Sponsored-by: Sovereign Tech Fund Reviewed-by: Roger Pack <rogerdpack@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 25f9211bdd61641cb8739efcb45bf31b46557178) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
4ae285a773
commit
374a5f8b0a
@ -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) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user