[vlc-commits] aout: missing rate init

Rémi Denis-Courmont git at videolan.org
Sat May 5 17:10:23 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May  5 17:59:06 2018 +0300| [e464e375742ed586a519114a6f82af9a29d87ab9] | committer: Rémi Denis-Courmont

aout: missing rate init

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

 src/audio_output/dec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/audio_output/dec.c b/src/audio_output/dec.c
index 253ea346dd..1bd7b86dde 100644
--- a/src/audio_output/dec.c
+++ b/src/audio_output/dec.c
@@ -100,7 +100,7 @@ error:
         return -1;
     }
 
-
+    owner->sync.rate = 1.f;
     owner->sync.end = VLC_TS_INVALID;
     owner->sync.resamp_type = AOUT_RESAMPLING_NONE;
     owner->sync.discontinuity = true;



More information about the vlc-commits mailing list