[FFmpeg-devel] [PATCH] libcelt_dec: set sample_fmt.

Nicolas George nicolas.george at normalesup.org
Mon Oct 24 19:55:49 CEST 2011


This fixes a regression introduced by the merging of patch fc2dd2c.

Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
 libavcodec/libcelt_dec.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/libcelt_dec.c b/libavcodec/libcelt_dec.c
index 6f39654..32948e3 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;
 }
 
-- 
1.7.6.3



More information about the ffmpeg-devel mailing list