[vlc-devel] [PATCH V2 2/8] dec: use owner->input_format

Thomas Guillem thomas at gllm.fr
Mon Oct 7 15:46:20 CEST 2019


No functional changes since they are the same at this point.
---
 src/audio_output/dec.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/audio_output/dec.c b/src/audio_output/dec.c
index 05e3d355d7..34365411b5 100644
--- a/src/audio_output/dec.c
+++ b/src/audio_output/dec.c
@@ -101,7 +101,8 @@ int aout_DecNew(audio_output_t *p_aout, const audio_sample_format_t *p_format,
     aout_volume_SetFormat (owner->volume, owner->mixer_format.i_format);
 
     /* Create the audio filtering "input" pipeline */
-    owner->filters = aout_FiltersNewWithClock(VLC_OBJECT(p_aout), clock, p_format,
+    owner->filters = aout_FiltersNewWithClock(VLC_OBJECT(p_aout), clock,
+                                              &owner->input_format,
                                               &owner->mixer_format,
                                               &owner->filters_cfg);
     if (owner->filters == NULL)
-- 
2.20.1



More information about the vlc-devel mailing list