Browse Source

cosmetics: Move AMR-WB-specific code to the AMR-WB part of the file.

Originally committed as revision 18869 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Diego Biurrun 16 years ago
parent
commit
4e1424fdc7
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      libavcodec/libamr.c

+ 3
- 2
libavcodec/libamr.c View File

@@ -62,8 +62,6 @@

static const char nb_bitrate_unsupported[] =
"bitrate not supported: use one of 4.75k, 5.15k, 5.9k, 6.7k, 7.4k, 7.95k, 10.2k or 12.2k\n";
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 AMR_bitrates {
@@ -277,6 +275,9 @@ AVCodec libamr_nb_encoder = {
#include <amrwb/dec_if.h>
#include <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;


Loading…
Cancel
Save