/*
* AC-3 parser prototypes
- * Copyright (c) 2003 Fabrice Bellard.
- * Copyright (c) 2003 Michael Niedermayer.
+ * Copyright (c) 2003 Fabrice Bellard
+ * Copyright (c) 2003 Michael Niedermayer
*
* This file is part of FFmpeg.
*
#define AVCODEC_AC3_PARSER_H
#include "ac3.h"
-#include "bitstream.h"
-
-typedef enum {
- AC3_PARSE_ERROR_SYNC = -1,
- AC3_PARSE_ERROR_BSID = -2,
- AC3_PARSE_ERROR_SAMPLE_RATE = -3,
- AC3_PARSE_ERROR_FRAME_SIZE = -4,
- AC3_PARSE_ERROR_FRAME_TYPE = -5,
- AC3_PARSE_ERROR_CRC = -6,
-} AC3ParseError;
+#include "get_bits.h"
/**
* Parses AC-3 frame header.