summaryrefslogtreecommitdiff
path: root/rotord/rotor.cpp
diff options
context:
space:
mode:
authorTim Redfern <tim@herge.(none)>2013-03-22 17:56:41 +0000
committerTim Redfern <tim@herge.(none)>2013-03-22 17:56:41 +0000
commitb1489d803be933eff43981f23b3540e9a0fb719f (patch)
treee532c25a9aee30c863f4365694831cb724f65bb6 /rotord/rotor.cpp
parent49993e6f9c77bf4c610b53e3abc4ce5651c7700b (diff)
still fighting with libavcodec
Diffstat (limited to 'rotord/rotor.cpp')
-rw-r--r--rotord/rotor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/rotord/rotor.cpp b/rotord/rotor.cpp
index 81b0716..b8c5e2f 100644
--- a/rotord/rotor.cpp
+++ b/rotord/rotor.cpp
@@ -405,6 +405,7 @@ bool Render_context::load_audio(const string &filename,vector<base_audio_process
//const auto processedLength = avcodec_decode_video2(avVideoCodec.get(), avFrame.get(), &isFrameAvailable, &packetToSend);
const auto processedLength = avcodec_decode_audio4(audioCodec.get(), avFrame.get(), &isFrameAvailable, &packetToSend);
+ //utils.c line 2018
/*
unsigned int bitsPerSample = av_get_bytes_per_sample(stream.codecContext->sample_fmt) * CHAR_BIT; // 16 or 32
unsigned int numberOfChannels = stream.codecContext->channels; // 1 for mono, 2 for stereo, or more