summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/flac/enc/SoftFlacEncoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/libstagefright/codecs/flac/enc/SoftFlacEncoder.h')
-rw-r--r--media/libstagefright/codecs/flac/enc/SoftFlacEncoder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/media/libstagefright/codecs/flac/enc/SoftFlacEncoder.h b/media/libstagefright/codecs/flac/enc/SoftFlacEncoder.h
index 1e0148a..97361fa 100644
--- a/media/libstagefright/codecs/flac/enc/SoftFlacEncoder.h
+++ b/media/libstagefright/codecs/flac/enc/SoftFlacEncoder.h
@@ -52,6 +52,7 @@ private:
enum {
kNumBuffers = 2,
kMaxNumSamplesPerFrame = 1152,
+ kMaxInputBufferSize = kMaxNumSamplesPerFrame * sizeof(int16_t) * 2,
kMaxOutputBufferSize = 65536, //TODO check if this can be reduced
};