Better reading of aac channels number.
This commit is contained in:
1 parent
ae0c27b8a8
commit
08d53f7aa2
3 files changed
+280
-7
No files matched your search
@@ -19,6 +19,24 @@ extern "C" {
|
||||
int analyze_EAC3(void **context ,uint8_t *frame, uint32_t size);
|
||||
CFDataRef createCookie_EAC3(void *context);
|
||||
|
||||
|
||||
typedef struct MPEG4AudioConfig {
|
||||
int object_type;
|
||||
int sampling_index;
|
||||
int sample_rate;
|
||||
int chan_config;
|
||||
int sbr; ///< -1 implicit, 1 presence
|
||||
int ext_object_type;
|
||||
int ext_sampling_index;
|
||||
int ext_sample_rate;
|
||||
int ext_chan_config;
|
||||
int channels;
|
||||
int ps; ///< -1 implicit, 1 presence
|
||||
int frame_length_short;
|
||||
} MPEG4AudioConfig;
|
||||
|
||||
int analyze_ESDS(MPEG4AudioConfig *c, const uint8_t *cookie, uint32_t cookieLen);
|
||||
|
||||
int analyze_HEVC(const uint8_t *frame, uint32_t cookieLen, bool *completeness);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in new issue
Block a user