aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiederick Niehorster <dcnieho@gmail.com>2022-01-02 10:49:36 +0100
committerGyan Doshi <ffmpeg@gyani.pro>2022-01-04 17:40:29 +0530
commitd1f7700133312929d64aaa69ab3a08b5ae171390 (patch)
tree15461e71882a7b70872f34ae9769b25307015c23
parent9c91930ef799b855bda9fb578fff5949f3bf2525 (diff)
downloadffmpeg-d1f7700133312929d64aaa69ab3a08b5ae171390.tar.gz
avdevice/dshow: tv_tuner_audio_dialog cleanup missing
Cleanup was missing for when the show_analog_tv_tuner_audio_dialog is true. Signed-off-by: Diederick Niehorster <dcnieho@gmail.com> Reviewed-by: Roger Pack <rogerdpack2@gmail.com>
-rw-r--r--libavdevice/dshow_crossbar.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavdevice/dshow_crossbar.c b/libavdevice/dshow_crossbar.c
index 2438683cde..961defe690 100644
--- a/libavdevice/dshow_crossbar.c
+++ b/libavdevice/dshow_crossbar.c
@@ -204,5 +204,9 @@ end:
IAMTVTuner_Release(tv_tuner_filter);
if (tv_tuner_base_filter)
IBaseFilter_Release(tv_tuner_base_filter);
+ if (tv_audio_filter)
+ IAMAudioInputMixer_Release(tv_audio_filter);
+ if (tv_audio_base_filter)
+ IBaseFilter_Release(tv_audio_base_filter);
return hr;
}