mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-25 01:41:31 +08:00
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>
This commit is contained in:
@@ -239,20 +239,9 @@ AVCodec ff_libopencore_amrnb_encoder = {
|
|||||||
#include <opencore-amrwb/dec_if.h>
|
#include <opencore-amrwb/dec_if.h>
|
||||||
#include <opencore-amrwb/if_rom.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 {
|
typedef struct AMRWBContext {
|
||||||
int frameCount;
|
int frameCount;
|
||||||
void *state;
|
void *state;
|
||||||
int mode;
|
|
||||||
Word16 allow_dtx;
|
|
||||||
} AMRWBContext;
|
} AMRWBContext;
|
||||||
|
|
||||||
static av_cold int amr_wb_decode_init(AVCodecContext *avctx)
|
static av_cold int amr_wb_decode_init(AVCodecContext *avctx)
|
||||||
|
|||||||
Reference in New Issue
Block a user