summaryrefslogtreecommitdiff
path: root/ffmpeg/libavcodec/sipr.c
diff options
context:
space:
mode:
Diffstat (limited to 'ffmpeg/libavcodec/sipr.c')
-rw-r--r--ffmpeg/libavcodec/sipr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ffmpeg/libavcodec/sipr.c b/ffmpeg/libavcodec/sipr.c
index 35e8bf5..17260a0 100644
--- a/ffmpeg/libavcodec/sipr.c
+++ b/ffmpeg/libavcodec/sipr.c
@@ -240,7 +240,7 @@ static void eval_ir(const float *Az, int pitch_lag, float *freq,
float tmp1[SUBFR_SIZE+1], tmp2[LP_FILTER_ORDER+1];
int i;
- tmp1[0] = 1.;
+ tmp1[0] = 1.0;
for (i = 0; i < LP_FILTER_ORDER; i++) {
tmp1[i+1] = Az[i] * ff_pow_0_55[i];
tmp2[i ] = Az[i] * ff_pow_0_7 [i];
@@ -564,11 +564,11 @@ static int sipr_decode_frame(AVCodecContext *avctx, void *data,
AVCodec ff_sipr_decoder = {
.name = "sipr",
+ .long_name = NULL_IF_CONFIG_SMALL("RealAudio SIPR / ACELP.NET"),
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_SIPR,
.priv_data_size = sizeof(SiprContext),
.init = sipr_decoder_init,
.decode = sipr_decode_frame,
.capabilities = CODEC_CAP_DR1,
- .long_name = NULL_IF_CONFIG_SMALL("RealAudio SIPR / ACELP.NET"),
};