summaryrefslogtreecommitdiff
path: root/libavcodec/libcelt_dec.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2011-10-24 19:55:49 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-24 21:17:32 +0200
commitf44c816566be23e5b6c09efb1200755fd0cef214 (patch)
treeefdb497f0eae28de10c12a06b873e2e90bf5c09c /libavcodec/libcelt_dec.c
parentd1ee98c94ba1c01d9540fe46783c3560b8737a22 (diff)
downloadffmpeg-f44c816566be23e5b6c09efb1200755fd0cef214.tar.gz
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>
Diffstat (limited to 'libavcodec/libcelt_dec.c')
-rw-r--r--libavcodec/libcelt_dec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/libcelt_dec.c b/libavcodec/libcelt_dec.c
index 6f3965401c..32948e3aec 100644
--- a/libavcodec/libcelt_dec.c
+++ b/libavcodec/libcelt_dec.c
@@ -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;
}