comparison libamr.c @ 9650:531474d55492 libavcodec

Remove redundant #if condition. Two CONFIG_LIBAMR_NB blocks were right after each other so that the second check was pointless.
author diego
date Fri, 15 May 2009 17:22:41 +0000
parents 2d4718adf588
children e5ea408f6e2a
comparison
equal deleted inserted replaced
9649:2d4718adf588 9650:531474d55492
252 0); 252 0);
253 /* 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] ); */ 253 /* 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] ); */
254 254
255 return written; 255 return written;
256 } 256 }
257
258 #endif
259
260 #if CONFIG_LIBAMR_NB
261 257
262 AVCodec libamr_nb_decoder = 258 AVCodec libamr_nb_decoder =
263 { 259 {
264 "libamr_nb", 260 "libamr_nb",
265 CODEC_TYPE_AUDIO, 261 CODEC_TYPE_AUDIO,