diff options
author | Marco Nelissen <marcone@google.com> | 2013-08-29 09:31:26 -0700 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2013-09-04 13:33:09 -0700 |
commit | d089c2540e4f0897c166693f4f13e2023241720e (patch) | |
tree | 0444022b2dbf4355ec920357bde1ce5a06d95d01 /media/libstagefright/codecs/mp3dec/SoftMP3.h | |
parent | 207c699f14256df67ad0d289193783de5f07e62f (diff) | |
download | frameworks_av-d089c2540e4f0897c166693f4f13e2023241720e.zip frameworks_av-d089c2540e4f0897c166693f4f13e2023241720e.tar.gz frameworks_av-d089c2540e4f0897c166693f4f13e2023241720e.tar.bz2 |
Fix decoder EOS handling
Conceptually it should be the same whether EOS is signalled on the last
buffer holding data, or an empty buffer that follows. Make it so that
this actually behaves the same for mp3, AAC and Vorbis.
b/8747869
Change-Id: Idece8ef45689a3ffaf70fb45d19862d7b93b2f92
Diffstat (limited to 'media/libstagefright/codecs/mp3dec/SoftMP3.h')
-rw-r--r-- | media/libstagefright/codecs/mp3dec/SoftMP3.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/media/libstagefright/codecs/mp3dec/SoftMP3.h b/media/libstagefright/codecs/mp3dec/SoftMP3.h index 4af91ea..f9e7b53 100644 --- a/media/libstagefright/codecs/mp3dec/SoftMP3.h +++ b/media/libstagefright/codecs/mp3dec/SoftMP3.h @@ -61,6 +61,8 @@ private: bool mIsFirst; bool mSignalledError; + bool mSawInputEos; + bool mSignalledOutputEos; enum { NONE, |