libcelt_dec: set sample_fmt.
authorNicolas George <nicolas.george@normalesup.org>
Mon, 24 Oct 2011 17:55:49 +0000 (19:55 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 24 Oct 2011 19:17:32 +0000 (21:17 +0200)
This fixes a regression introduced by the merging of patch fc2dd2c.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libcelt_dec.c

index 6f39654..32948e3 100644 (file)
@@ -91,6 +91,7 @@ static av_cold int libcelt_dec_init(AVCodecContext *c)
                    "improperly decoded by libcelt for version 0x%x.\n",
                    version, lib_version);
     }
+    c->sample_fmt = AV_SAMPLE_FMT_S16;
     return 0;
 }