Improve function to get stream info 95/246295/9
authorMinje Ahn <minje.ahn@samsung.com>
Wed, 28 Oct 2020 00:05:00 +0000 (09:05 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Wed, 28 Oct 2020 05:12:16 +0000 (14:12 +0900)
commit4b9dd9dc652ca1c292e9419e26a4bc72a5273a8f
tree42a9ad5cc5b3afcc0ef71ed8ce00245d1cc105c8
parent35c1ccb884c7c22aefb25d71222e4e245ad86ef8
Improve function to get stream info

The patch contents are as follows:
1. Instead of reading the first 50KB, it finds only normal header. (For reduce memory usage)
2. If the header information found is normal, it no longer searches for other headers.
3. Code optimization for readability.
4. Remove values that are no longer used.

Change-Id: Ic0be9eec1ba1902558be0a5150a00fd41bcbb924
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
formats/ffmpeg/mm_file_format_mp3.c
utils/include/mm_file_utils.h