gint fbd;
};
-App s_app;
+static App s_app;
-media_format_h fmt = NULL;
-media_packet_pool_h pkt_pool = NULL;
+static media_format_h fmt = NULL;
+static media_packet_pool_h pkt_pool = NULL;
/* Internal Functions */
void displaymenu(void);
/* */
const char* codec_type_to_string(mediacodec_codec_type_e media_codec_id);
-void (*extractor)(App *app, guint8** data, gint *size, gboolean *have_frame, gboolean *codec_data);
+static void (*extractor)(App *app, guint8** data, gint *size, gboolean *have_frame, gboolean *codec_data);
-gint g_menu_state = CURRENT_STATUS_MAINMENU;
+static gint g_menu_state = CURRENT_STATUS_MAINMENU;
static const guint mp3types_bitrates[2][3][16] = {
{
* - AMR-NB : mime type ("audio/AMR") / 8Khz / 1 ch / 16 bits
* - AMR-WB : mime type ("audio/AMR-WB") / 16Khz / 1 ch / 16 bits
**/
-gint write_amr_header = 1; /* write magic number for AMR Header at one time */
+static gint write_amr_header = 1; /* write magic number for AMR Header at one time */
static const gchar AMR_header[] = "#!AMR\n";
static const gchar AMRWB_header[] = "#!AMR-WB\n";
#define AMR_NB_MIME_HDR_SIZE 6
static const gint block_size_nb[16] = { 12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0 };
static const gint block_size_wb[16] = { 17, 23, 32, 36, 40, 46, 50, 58, 60, 5, -1, -1, -1, -1, 0, 0 };
-gint *blocksize_tbl;
+static gint *blocksize_tbl;
void amrdec_extractor(App * app, guint8 **data, gint *size, gboolean * have_frame, gboolean *codec_data)
{
gint readsize = 0, mode_temp;