Browse code

libcelt_dec: set sample_fmt.

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>

Nicolas George authored on 2011/10/25 02:55:49
Showing 1 changed files
... ...
@@ -91,6 +91,7 @@ static av_cold int libcelt_dec_init(AVCodecContext *c)
91 91
                    "improperly decoded by libcelt for version 0x%x.\n",
92 92
                    version, lib_version);
93 93
     }
94
+    c->sample_fmt = AV_SAMPLE_FMT_S16;
94 95
     return 0;
95 96
 }
96 97