From cc24a339d8c0517259084b5c178d784626ba965c Mon Sep 17 00:00:00 2001 From: ImJezze Date: Sun, 21 Feb 2016 11:48:45 +0100 Subject: Merge remote-tracking branch 'refs/remotes/mamedev/master' Second attempt --- src/lib/util/aviio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/util/aviio.cpp') diff --git a/src/lib/util/aviio.cpp b/src/lib/util/aviio.cpp index 90918c06673..a448128070b 100644 --- a/src/lib/util/aviio.cpp +++ b/src/lib/util/aviio.cpp @@ -1297,7 +1297,7 @@ avi_error avi_read_sound_samples(avi_file *file, int channel, UINT32 firstsample UINT32 bytes_per_sample; file_error filerr; avi_stream *stream; - int offset; + int offset = 0; /* get the audio stream */ stream = get_audio_stream(file, channel, &offset); -- cgit v1.2.3-70-g09d2