summaryrefslogtreecommitdiffstats
path: root/libvideoeditor
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-11-14 12:54:39 -0800
committerGlenn Kasten <gkasten@google.com>2012-11-15 16:43:40 -0800
commit7da35f231725aa6e0b2ac8714a7d66471368df77 (patch)
tree43c0c280293fce41ffe26176177f1cdec4e1831d /libvideoeditor
parentde5191e8b02f727756eb9d6e812af415d6cd0768 (diff)
downloadframeworks_av-7da35f231725aa6e0b2ac8714a7d66471368df77.zip
frameworks_av-7da35f231725aa6e0b2ac8714a7d66471368df77.tar.gz
frameworks_av-7da35f231725aa6e0b2ac8714a7d66471368df77.tar.bz2
Use size_t for frame counts
Also fix typo: bufferCount should be frameCount. Change-Id: Ibed539504db75ef99dc21c8ff1bf2987122063a5
Diffstat (limited to 'libvideoeditor')
-rwxr-xr-xlibvideoeditor/lvpp/VideoEditorPlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvideoeditor/lvpp/VideoEditorPlayer.cpp b/libvideoeditor/lvpp/VideoEditorPlayer.cpp
index d34b6d3..a47fc15 100755
--- a/libvideoeditor/lvpp/VideoEditorPlayer.cpp
+++ b/libvideoeditor/lvpp/VideoEditorPlayer.cpp
@@ -407,7 +407,7 @@ status_t VideoEditorPlayer::VeAudioOutput::open(
ALOGV("open(%u, %d, %d, %d)", sampleRate, channelCount, format, bufferCount);
if (mTrack) close();
uint32_t afSampleRate;
- int afFrameCount;
+ size_t afFrameCount;
int frameCount;
if (AudioSystem::getOutputFrameCount(&afFrameCount, mStreamType) !=