From d54f1e640790b9690cdb4f543f374016615ec000 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 12 Jan 2012 09:26:11 +0100 Subject: [PATCH] nellymoserdec: SAMPLE_FMT -> AV_SAMPLE_FMT --- libavcodec/nellymoserdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/nellymoserdec.c b/libavcodec/nellymoserdec.c index 7f585e4..69c1b86 100644 --- a/libavcodec/nellymoserdec.c +++ b/libavcodec/nellymoserdec.c @@ -187,7 +187,7 @@ static int decode_tag(AVCodecContext *avctx, void *data, samples_flt = (float *)s->frame.data[0]; for (i=0 ; isample_fmt == SAMPLE_FMT_FLT) { + if (avctx->sample_fmt == AV_SAMPLE_FMT_FLT) { nelly_decode_block(s, buf, samples_flt); samples_flt += NELLY_SAMPLES; } else { -- 2.7.4