summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/vorbis/dec/SoftVorbis.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2013-01-30 21:12:58 +0200
committerMartin Storsjo <martin@martin.st>2013-01-31 11:27:40 +0200
commit5c824472f7cec8a3634838f7d88ffa9ccc7fc8e6 (patch)
tree86d6c06bb24209e147f0230e57e03e41f79ed7f2 /media/libstagefright/codecs/vorbis/dec/SoftVorbis.cpp
parent12834fe289e8173e94f31603fa6d313abe56ad70 (diff)
downloadframeworks_av-5c824472f7cec8a3634838f7d88ffa9ccc7fc8e6.zip
frameworks_av-5c824472f7cec8a3634838f7d88ffa9ccc7fc8e6.tar.gz
frameworks_av-5c824472f7cec8a3634838f7d88ffa9ccc7fc8e6.tar.bz2
SoftVorbis: Set the right encoding in the port definition
Previously, it set the encoding type to AAC, which is just a typo. Change-Id: I2dcae1f579e9feb0b35b6f5d334028c534275042
Diffstat (limited to 'media/libstagefright/codecs/vorbis/dec/SoftVorbis.cpp')
-rw-r--r--media/libstagefright/codecs/vorbis/dec/SoftVorbis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/codecs/vorbis/dec/SoftVorbis.cpp b/media/libstagefright/codecs/vorbis/dec/SoftVorbis.cpp
index ac88107..fab0b0c 100644
--- a/media/libstagefright/codecs/vorbis/dec/SoftVorbis.cpp
+++ b/media/libstagefright/codecs/vorbis/dec/SoftVorbis.cpp
@@ -93,7 +93,7 @@ void SoftVorbis::initPorts() {
def.format.audio.pNativeRender = NULL;
def.format.audio.bFlagErrorConcealment = OMX_FALSE;
- def.format.audio.eEncoding = OMX_AUDIO_CodingAAC;
+ def.format.audio.eEncoding = OMX_AUDIO_CodingVORBIS;
addPort(def);