diff options
author | Andreas Huber <andih@google.com> | 2011-05-12 13:38:20 -0700 |
---|---|---|
committer | Andreas Huber <andih@google.com> | 2011-05-12 13:38:20 -0700 |
commit | 9f753df58a70f20db220af31cb202bbd21b30f36 (patch) | |
tree | d07f9640e25b813cf964970644445791f953f2de | |
parent | bbba88cb1bdc34705d1477208990a06904c022e7 (diff) | |
download | frameworks_av-9f753df58a70f20db220af31cb202bbd21b30f36.zip frameworks_av-9f753df58a70f20db220af31cb202bbd21b30f36.tar.gz frameworks_av-9f753df58a70f20db220af31cb202bbd21b30f36.tar.bz2 |
A fix to the MPEG4Extractor to support 16-bit sample sizes.
Change-Id: Ic531f1ff0dd171f6f14aaad56aacbf3952a3aeae
-rw-r--r-- | media/libstagefright/SampleTable.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/SampleTable.cpp b/media/libstagefright/SampleTable.cpp index ef4d3d0..eb135ab 100644 --- a/media/libstagefright/SampleTable.cpp +++ b/media/libstagefright/SampleTable.cpp @@ -220,7 +220,7 @@ status_t SampleTable::setSampleSizeParams( return ERROR_MALFORMED; } - mSampleSizeFieldSize = mDefaultSampleSize & 0xf; + mSampleSizeFieldSize = mDefaultSampleSize & 0xff; mDefaultSampleSize = 0; if (mSampleSizeFieldSize != 4 && mSampleSizeFieldSize != 8 |