mp4 file with 2 'mp4a' boxes in a 'stsd' box
|Reported by:||chungying||Owned by:|
|Version:||unspecified||Keywords:||mov mp4a stsd|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
Summary of the bug:
There is a mp4 file with 2 'mp4a' boxes in a 'stsd' box.
Acording to ISO IEC 14496-12, the 'sample_description_index' field in 'tfhd' box gives the index of the sample entry in 'stsd' box.
However, in 'ff_mov_read_stsd_entries' always takes the information of the last 'mp4a' box instead of read the 'sample_description_index' field.
Maybe the information of stsd can be recorde as a list and apply the information indexed by 'sample_description_index'.
How to reproduce:
The file I attached always without sound output.
Since the value of 'sample_description_index' field in this file is '1', but the information applied is in the second 'mp4a' box. (The number of entries start from 1.)