Mercurial > libavformat.hg
comparison spdif.c @ 6254:feec446a2dc1 libavformat
Split the ADTS header decoder off of the ADTS parser.
The AAC decoder and ADTS-to-ASC BSF both require the header decoder
but not full parsing capabilities.
author | alexc |
---|---|
date | Mon, 12 Jul 2010 18:52:03 +0000 |
parents | e630da0f5861 |
children |
comparison
equal
deleted
inserted
replaced
6253:7069d6fdedaa | 6254:feec446a2dc1 |
---|---|
41 */ | 41 */ |
42 | 42 |
43 #include "avformat.h" | 43 #include "avformat.h" |
44 #include "libavcodec/ac3.h" | 44 #include "libavcodec/ac3.h" |
45 #include "libavcodec/dca.h" | 45 #include "libavcodec/dca.h" |
46 #include "libavcodec/aac_parser.h" | 46 #include "libavcodec/aacadtsdec.h" |
47 | 47 |
48 #define SYNCWORD1 0xF872 | 48 #define SYNCWORD1 0xF872 |
49 #define SYNCWORD2 0x4E1F | 49 #define SYNCWORD2 0x4E1F |
50 #define BURST_HEADER_SIZE 0x8 | 50 #define BURST_HEADER_SIZE 0x8 |
51 | 51 |