[FFmpeg-cvslog] libaacplus: cosmetics: fix indentation
Paul B Mahol
git at videolan.org
Thu May 23 21:58:59 CEST 2013
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Thu May 23 19:37:52 2013 +0000| [6d53034483f652ad431b83273b5ad41ca821b995] | committer: Paul B Mahol
libaacplus: cosmetics: fix indentation
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6d53034483f652ad431b83273b5ad41ca821b995
---
libavcodec/libaacplus.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavcodec/libaacplus.c b/libavcodec/libaacplus.c
index abb55a2..70cbe67 100644
--- a/libavcodec/libaacplus.c
+++ b/libavcodec/libaacplus.c
@@ -53,9 +53,9 @@ static av_cold int aacPlus_encode_init(AVCodecContext *avctx)
s->aacplus_handle = aacplusEncOpen(avctx->sample_rate, avctx->channels,
&s->samples_input, &s->max_output_bytes);
- if(!s->aacplus_handle) {
- av_log(avctx, AV_LOG_ERROR, "can't open encoder\n");
- return -1;
+ if (!s->aacplus_handle) {
+ av_log(avctx, AV_LOG_ERROR, "can't open encoder\n");
+ return -1;
}
/* check aacplus version */
@@ -112,8 +112,8 @@ static av_cold int aacPlus_encode_close(AVCodecContext *avctx)
aacPlusAudioContext *s = avctx->priv_data;
av_freep(&avctx->extradata);
-
aacplusEncClose(s->aacplus_handle);
+
return 0;
}
More information about the ffmpeg-cvslog
mailing list