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
commite33054eb968cbf8ccaee1b0ff0301403902deed6 (patch)
treeb91f7abd2927e25a4cb7c50a8ef197c643ca9db6 /libvideoeditor
parent7d9c126be8dfe3016683eeb2b7a2d88ba5b24c0b (diff)
downloadframeworks_av-e33054eb968cbf8ccaee1b0ff0301403902deed6.zip
frameworks_av-e33054eb968cbf8ccaee1b0ff0301403902deed6.tar.gz
frameworks_av-e33054eb968cbf8ccaee1b0ff0301403902deed6.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) !=