summaryrefslogtreecommitdiff
path: root/libavcodec/aac_parser.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-04-18 03:09:01 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-04-18 03:09:01 +0000
commit8c731c9743d1e815a62af09730f7f0c4050b217d (patch)
treed8f9897d85a93635c702717063286dd3dd0b6ac5 /libavcodec/aac_parser.c
parent37ff38c69f2c5780e218072589fe9d4ce6a1a1f0 (diff)
downloadffmpeg-8c731c9743d1e815a62af09730f7f0c4050b217d.tar.gz
remove AACAC3FrameFlag
Originally committed as revision 12888 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aac_parser.c')
-rw-r--r--libavcodec/aac_parser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/aac_parser.c b/libavcodec/aac_parser.c
index 2e4334f440..8715ce6b75 100644
--- a/libavcodec/aac_parser.c
+++ b/libavcodec/aac_parser.c
@@ -27,7 +27,7 @@
#define AAC_HEADER_SIZE 7
-static int aac_sync(AACAC3ParseContext *hdr_info, AACAC3FrameFlag *flag)
+static int aac_sync(AACAC3ParseContext *hdr_info)
{
GetBitContext bits;
int size, rdb, ch, sr;
@@ -65,7 +65,6 @@ static int aac_sync(AACAC3ParseContext *hdr_info, AACAC3FrameFlag *flag)
hdr_info->sample_rate = ff_mpeg4audio_sample_rates[sr];
hdr_info->samples = (rdb + 1) * 1024;
hdr_info->bit_rate = size * 8 * hdr_info->sample_rate / hdr_info->samples;
- *flag = FRAME_COMPLETE;
return size;
}