[vlc-commits] squash: aout: missing rate init
Rémi Denis-Courmont
git at videolan.org
Sat May 5 17:07:57 CEST 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 5 17:59:06 2018 +0300| [0e03a9985dc68f8452879ffa8c2008fafb85a136] | committer: Rémi Denis-Courmont
squash: aout: missing rate init
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0e03a9985dc68f8452879ffa8c2008fafb85a136
---
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