summaryrefslogtreecommitdiff
path: root/image.py
diff options
context:
space:
mode:
Diffstat (limited to 'image.py')
-rwxr-xr-ximage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/image.py b/image.py
index c6d9dad..6e47332 100755
--- a/image.py
+++ b/image.py
@@ -109,7 +109,7 @@ def render_image_show(s:Show):
## Add 0 entries as necessary to the audio list
atime += [0]*max(0,skipperiods-len(atime))
- tname, wave = get_wave(a[1])
+ tname, wave = get_wave(a[2])
nchannels, sampwidth, framerate, nframes, *_ = wave.getparams()
if sampwidth != 2:
raise ValueError("Only 16-bit wave is supported")