Fix the targets of api source
Separate the header files
Fix wrong code that causes heap overflow

Regression in the following commit.
Git HASH: 4ae52a4227a9843cff6232681f82403cccbb7f8c
Fix a crash bug when the target does not exist
Fix memory leak
cosmetics
ts_parser: Add the option for multi-thread to the "--mode" option
Change default value of packet check counter
utils: MPEG-2 TS/ES Parser 0.0.6