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 | f62dd66a8aa100079e0f6db0c8557234d67453e3 (patch) | |
tree | ea5147cb9dbbdb3d91559a78ee6b5cb540cbf3e6 | |
parent | c0b778e10f8a4971f14b501a277b6b505d66b84d (diff) | |
download | frameworks_base-f62dd66a8aa100079e0f6db0c8557234d67453e3.zip frameworks_base-f62dd66a8aa100079e0f6db0c8557234d67453e3.tar.gz frameworks_base-f62dd66a8aa100079e0f6db0c8557234d67453e3.tar.bz2 |
Fixes bug 2502132, and masks bug 2518313.
Change-Id: I5c5ecf1c10763f7b3f3d1e5c57dc5ce77cc344fd
-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) { |