diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-04-18 03:09:01 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-04-18 03:09:01 +0000 |
commit | 8c731c9743d1e815a62af09730f7f0c4050b217d (patch) | |
tree | d8f9897d85a93635c702717063286dd3dd0b6ac5 /libavcodec/ac3_parser.c | |
parent | 37ff38c69f2c5780e218072589fe9d4ce6a1a1f0 (diff) | |
download | ffmpeg-8c731c9743d1e815a62af09730f7f0c4050b217d.tar.gz |
remove AACAC3FrameFlag
Originally committed as revision 12888 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3_parser.c')
-rw-r--r-- | libavcodec/ac3_parser.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/libavcodec/ac3_parser.c b/libavcodec/ac3_parser.c index d0a22b9950..bc728c19da 100644 --- a/libavcodec/ac3_parser.c +++ b/libavcodec/ac3_parser.c @@ -123,7 +123,7 @@ int ff_ac3_parse_header(const uint8_t buf[7], AC3HeaderInfo *hdr) return 0; } -static int ac3_sync(AACAC3ParseContext *hdr_info, AACAC3FrameFlag *flag) +static int ac3_sync(AACAC3ParseContext *hdr_info) { int err; AC3HeaderInfo hdr; @@ -138,17 +138,6 @@ static int ac3_sync(AACAC3ParseContext *hdr_info, AACAC3FrameFlag *flag) hdr_info->channels = hdr.channels; hdr_info->samples = AC3_FRAME_SIZE; - switch(hdr.frame_type){ - case EAC3_FRAME_TYPE_INDEPENDENT: - *flag = FRAME_START; - break; - case EAC3_FRAME_TYPE_DEPENDENT: - *flag = FRAME_CONTINUATION; - break; - case EAC3_FRAME_TYPE_AC3_CONVERT: - *flag = FRAME_COMPLETE; - break; - } return hdr.frame_size; } |