diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-05-23 23:37:52 +0400 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-05-23 23:41:43 +0400 |
commit | 6d53034483f652ad431b83273b5ad41ca821b995 (patch) | |
tree | 80031cbc17ac6a9975a0e88b5d2ec334e485e53c /libavcodec/libaacplus.c | |
parent | 963c58006f9ef2dc71f5f4b564e6d34892287c5e (diff) |
libaacplus: cosmetics: fix indentation
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/libaacplus.c')
-rw-r--r-- | libavcodec/libaacplus.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/libaacplus.c b/libavcodec/libaacplus.c index abb55a2cf3..70cbe67837 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; } |