amldemux: CB1 io pointer is not correct when parser trun [1/1]

PD#SWPL-85721

Problem:
The test file has TR_FIRST_SAMPLE_FLAGS,but not be read
which will make io pointer did not sift and then when read the sample size
The reading sample size vale  TR_FIRST_SAMPLE_FLAGS value and it is a huge value
Which is bigger than mdat size and qtdemux think this is a invalid sample
and refused to playback

Solution:
When FIRST_SAMPLE_FLAGS exist, read it and make io pointer sift

Verify:
AP212

Signed-off-by: zengliang.li <zengliang.li@amlogic.com>
Change-Id: Ia7fd387eceeafcf9671a15d29b9e73f777d71c79
1 file changed