[FFmpeg-cvslog] avdevice/dshow: tv_tuner_audio_dialog cleanup missing

Diederick Niehorster git at videolan.org
Tue Jan 4 15:27:37 EET 2022


ffmpeg | branch: release/5.0 | Diederick Niehorster <dcnieho at gmail.com> | Sun Jan  2 10:49:36 2022 +0100| [d1f7700133312929d64aaa69ab3a08b5ae171390] | committer: Gyan Doshi

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 at gmail.com>
Reviewed-by: Roger Pack <rogerdpack2 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d1f7700133312929d64aaa69ab3a08b5ae171390
---

 libavdevice/dshow_crossbar.c | 4 ++++
 1 file changed, 4 insertions(+)

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;
 }



More information about the ffmpeg-cvslog mailing list