[FFmpeg-cvslog] libcelt_dec: whitespace cosmetics.

Nicolas George git at videolan.org
Tue Oct 25 10:17:08 CEST 2011


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Tue Oct 25 09:38:08 2011 +0200| [02ac6a654457122d67b0c1e8abf04902147954c8] | committer: Nicolas George

libcelt_dec: whitespace cosmetics.

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

 libavcodec/libcelt_dec.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/libcelt_dec.c b/libavcodec/libcelt_dec.c
index 32948e3..de126c8 100644
--- a/libavcodec/libcelt_dec.c
+++ b/libavcodec/libcelt_dec.c
@@ -33,7 +33,7 @@ struct libcelt_context {
 
 static int ff_celt_error_to_averror(int err)
 {
-    switch(err) {
+    switch (err) {
         case CELT_BAD_ARG:          return AVERROR(EINVAL);
 #ifdef CELT_BUFFER_TOO_SMALL
         case CELT_BUFFER_TOO_SMALL: return AVERROR(ENOBUFS);
@@ -82,7 +82,7 @@ static av_cold int libcelt_dec_init(AVCodecContext *c)
         }
         celt->discard *= c->channels * sizeof(int16_t);
     }
-    if(c->extradata_size >= 8) {
+    if (c->extradata_size >= 8) {
         unsigned version = AV_RL32(c->extradata + 4);
         unsigned lib_version = ff_celt_bitstream_version_hack(celt->mode);
         if (version != lib_version)



More information about the ffmpeg-cvslog mailing list