[FFmpeg-cvslog] libcelt_dec: set sample_fmt.

Nicolas George git at videolan.org
Mon Oct 24 21:49:11 CEST 2011


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Mon Oct 24 19:55:49 2011 +0200| [f44c816566be23e5b6c09efb1200755fd0cef214] | committer: Michael Niedermayer

libcelt_dec: set sample_fmt.

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

Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f44c816566be23e5b6c09efb1200755fd0cef214
---

 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;
 }
 



More information about the ffmpeg-cvslog mailing list