diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-04-20 16:59:39 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-04-27 12:57:43 -0400 |
commit | 3dfc3e70c0852c62a45923b8abb57137e4bf6240 (patch) | |
tree | ab6b1ce3cae62795b5a84667dbf18c9b7526096d /libavcodec/utils.c | |
parent | 8b00ab0113a8ca40429e0a06331be83996963a9e (diff) | |
download | ffmpeg-streaming-3dfc3e70c0852c62a45923b8abb57137e4bf6240.zip ffmpeg-streaming-3dfc3e70c0852c62a45923b8abb57137e4bf6240.tar.gz |
cosmetics: indentation
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 915fb31..8bb4d19 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -545,14 +545,14 @@ int attribute_align_arg avcodec_open(AVCodecContext *avctx, AVCodec *codec) if (avctx->codec->encode) { int i; if (avctx->codec->sample_fmts) { - for (i = 0; avctx->codec->sample_fmts[i] != AV_SAMPLE_FMT_NONE; i++) - if (avctx->sample_fmt == avctx->codec->sample_fmts[i]) - break; - if (avctx->codec->sample_fmts[i] == AV_SAMPLE_FMT_NONE) { - av_log(avctx, AV_LOG_ERROR, "Specified sample_fmt is not supported.\n"); - ret = AVERROR(EINVAL); - goto free_and_end; - } + for (i = 0; avctx->codec->sample_fmts[i] != AV_SAMPLE_FMT_NONE; i++) + if (avctx->sample_fmt == avctx->codec->sample_fmts[i]) + break; + if (avctx->codec->sample_fmts[i] == AV_SAMPLE_FMT_NONE) { + av_log(avctx, AV_LOG_ERROR, "Specified sample_fmt is not supported.\n"); + ret = AVERROR(EINVAL); + goto free_and_end; + } } if (avctx->codec->supported_samplerates) { for (i = 0; avctx->codec->supported_samplerates[i] != 0; i++) |