aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2011-04-12 23:50:51 +0300
committerMartin Storsjö <martin@martin.st>2011-04-13 11:30:38 +0300
commitdbff4da91468a5079d017b99f961cb8bfc4e019c (patch)
tree5a9830589c4c1726b850852c5bc66d35301aa787
parenta92a7ddc253a640aba974d859eab20d74cebb3e0 (diff)
downloadffmpeg-dbff4da91468a5079d017b99f961cb8bfc4e019c.tar.gz
libopencore-amr: Remove unused code fragments
This parts are heritage from the encoder part from the old libamr code removed in SVN rev 19365. Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--libavcodec/libopencore-amr.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c
index a7abe26802..c11c924cbe 100644
--- a/libavcodec/libopencore-amr.c
+++ b/libavcodec/libopencore-amr.c
@@ -239,20 +239,9 @@ AVCodec ff_libopencore_amrnb_encoder = {
#include <opencore-amrwb/dec_if.h>
#include <opencore-amrwb/if_rom.h>
-static const char wb_bitrate_unsupported[] =
- "bitrate not supported: use one of 6.6k, 8.85k, 12.65k, 14.25k, 15.85k, 18.25k, 19.85k, 23.05k, or 23.85k\n";
-
-/* Common code for fixed and float version*/
-typedef struct AMRWB_bitrates {
- int rate;
- int mode;
-} AMRWB_bitrates;
-
typedef struct AMRWBContext {
int frameCount;
void *state;
- int mode;
- Word16 allow_dtx;
} AMRWBContext;
static av_cold int amr_wb_decode_init(AVCodecContext *avctx)