av_log(NULL,AV_LOG_DEBUG,"amr_nb_encode_frame encoded %u bytes, bitrate %u, first byte was %#02x\n",written, s->enc_bitrate, frame[0] );
static int amr_nb_encode_frame(AVCodecContext *avctx,			    unsigned char *frame/*out*/, int buf_size, void *data/*in*/){    AMRContext *s = (AMRContext*)avctx->priv_data;    int written;    written = Encoder_Interface_Encode(s->enstate,         s->enc_bitrate,         data,         frame,         0);    return written;}