A fix to the MPEG4Extractor to support 16-bit sample sizes.

Change-Id: Ic531f1ff0dd171f6f14aaad56aacbf3952a3aeae
This commit is contained in:
Andreas Huber
2011-05-12 13:38:20 -07:00
parent e4ba346f0f
commit 0a6f09e445

View File

@@ -220,7 +220,7 @@ status_t SampleTable::setSampleSizeParams(
return ERROR_MALFORMED;
}
mSampleSizeFieldSize = mDefaultSampleSize & 0xf;
mSampleSizeFieldSize = mDefaultSampleSize & 0xff;
mDefaultSampleSize = 0;
if (mSampleSizeFieldSize != 4 && mSampleSizeFieldSize != 8