diff options
author | Glenn Kasten <gkasten@google.com> | 2010-03-16 08:41:24 -0700 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2010-03-16 09:17:57 -0700 |
commit | aaaa12caef17f34cdcdf118fa7c2b4b8d0d7fe0e (patch) | |
tree | d1456b3c7ef6ad80f59439222828cce4e0d9ac60 /media | |
parent | 746973186764292a84d11856ac315fa4b62957ad (diff) | |
download | frameworks_av-aaaa12caef17f34cdcdf118fa7c2b4b8d0d7fe0e.zip frameworks_av-aaaa12caef17f34cdcdf118fa7c2b4b8d0d7fe0e.tar.gz frameworks_av-aaaa12caef17f34cdcdf118fa7c2b4b8d0d7fe0e.tar.bz2 |
Fixes bug 2502132, and masks bug 2518313.
Change-Id: I5c5ecf1c10763f7b3f3d1e5c57dc5ce77cc344fd
Diffstat (limited to 'media')
-rw-r--r-- | media/libstagefright/AMRExtractor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/AMRExtractor.cpp b/media/libstagefright/AMRExtractor.cpp index 2a16d26..0fea72e 100644 --- a/media/libstagefright/AMRExtractor.cpp +++ b/media/libstagefright/AMRExtractor.cpp @@ -222,7 +222,7 @@ status_t AMRSource::read( ssize_t n = mDataSource->readAt(mOffset, &header, 1); if (n < 1) { - return ERROR_IO; + return ERROR_END_OF_STREAM; } if (header & 0x83) { |