Originally committed as revision 18846 to svn://svn.ffmpeg.org/ffmpeg/trunk
#define typedef_h
#endif
-#include <amrwb/enc_if.h>
#include <amrwb/dec_if.h>
#include <amrwb/if_rom.h>
int mode;
} AMRWB_bitrates;
+typedef struct AMRWBContext {
+ int frameCount;
+ void *state;
+ int mode;
+ Word16 allow_dtx;
+} AMRWBContext;
+
+#include <amrwb/enc_if.h>
+
static int getWBBitrateMode(int bitrate)
{
/* make the correspondance between bitrate and mode */
return -1;
}
-
-typedef struct AMRWBContext {
- int frameCount;
- void *state;
- int mode;
- Word16 allow_dtx;
-} AMRWBContext;
-
static av_cold int amr_wb_encode_init(AVCodecContext * avctx)
{
AMRWBContext *s = avctx->priv_data;