[vlc-commits] dec: use owner->input_format

Thomas Guillem git at videolan.org
Tue Oct 8 08:49:51 CEST 2019


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Oct  7 11:55:40 2019 +0200| [fae9998388c83efcd174a6c5aea18d5f46d01ace] | committer: Thomas Guillem

dec: use owner->input_format

No functional changes since they are the same at this point.

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

 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)



More information about the vlc-commits mailing list