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

This commit is contained in:
Andreas Huber
2011-05-12 13:40:37 -07:00
committed by Android (Google) Code Review

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