Skip to content

Commit

Permalink
avdevice/dshow: tv_tuner_audio_dialog cleanup missing
Browse files Browse the repository at this point in the history
Cleanup was missing for when the show_analog_tv_tuner_audio_dialog is
true.

Signed-off-by: Diederick Niehorster <[email protected]>
Reviewed-by: Roger Pack <[email protected]>
  • Loading branch information
dcnieho authored and GyanD committed Jan 4, 2022
1 parent 9c91930 commit d1f7700
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libavdevice/dshow_crossbar.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,5 +204,9 @@ ff_dshow_try_setup_crossbar_options(ICaptureGraphBuilder2 *graph_builder2,
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;
}

0 comments on commit d1f7700

Please sign in to comment.