summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Redfern <tim@herge.(none)>2013-07-31 18:13:15 +0100
committerTim Redfern <tim@herge.(none)>2013-07-31 18:13:15 +0100
commit2be1688ba31205479ec7595d3db8fbb7b2b29e53 (patch)
treedf19793260d94c3aa016afc8b6d81f21e57e0342
parent7f5aaa908e3b23763e309978f5bfa4c4dc47189a (diff)
checking audio
-rwxr-xr-xrotord/src/libavwrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rotord/src/libavwrapper.cpp b/rotord/src/libavwrapper.cpp
index 673c2be..c544b33 100755
--- a/rotord/src/libavwrapper.cpp
+++ b/rotord/src/libavwrapper.cpp
@@ -1618,7 +1618,7 @@ bool libav::audioloader::setup(const std::string &filename){
//which? must be determined by format or layout of the channels
//ALSO some kind of HEINOUS memory leak??
- buffer[((sample_end+i)*frame->channels)+j]=s;
+ buffer[((sample_end+i)*frame->channels)+j]=s;
//buffer[(j*frame->channels)+(sample_end+i)]= ((uint16_t*) frame->buf[j]->data)[i]; ??planar?? nope
}
}