Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Mueller <nexyon@gmail.com>2013-04-02 19:48:09 +0400
committerJoerg Mueller <nexyon@gmail.com>2013-04-02 19:48:09 +0400
commit97ce56dc761243d14bc10f47baae378b207c189e (patch)
tree20ba7bf7d718991a196598d2da97f6390d50cca1 /intern/audaspace
parent952f03150fa8cf87ace22430259e11c60c0dab83 (diff)
Bugfix for [#34845] FFmpeg: .wav file playback crashes Blender since r55693
Diffstat (limited to 'intern/audaspace')
-rw-r--r--intern/audaspace/ffmpeg/AUD_FFMPEGReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/audaspace/ffmpeg/AUD_FFMPEGReader.cpp b/intern/audaspace/ffmpeg/AUD_FFMPEGReader.cpp
index c359c5ec3e2..408a4e56f1c 100644
--- a/intern/audaspace/ffmpeg/AUD_FFMPEGReader.cpp
+++ b/intern/audaspace/ffmpeg/AUD_FFMPEGReader.cpp
@@ -88,7 +88,7 @@ int AUD_FFMPEGReader::decode(AVPacket& packet, AUD_Buffer& buffer)
}
}
else
- memcpy(((data_t*)buffer.getBuffer()) + buf_pos, frame->data[1], data_size);
+ memcpy(((data_t*)buffer.getBuffer()) + buf_pos, frame->data[0], data_size);
buf_pos += data_size;
}