diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-03-14 01:00:49 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-03-14 17:50:34 +0100 |
commit | 999d31d354f1f0616a09691913659ac0abdcc899 (patch) | |
tree | 0b6d742030bea700d7a931bf4799666021d0c5ad /libavcodec | |
parent | 7a650caf6436ddfe417bdcb5ce520c96c779af7b (diff) | |
download | ffmpeg-999d31d354f1f0616a09691913659ac0abdcc899.tar.gz |
codec_desc: K&R formatting cosmetics
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/codec_desc.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c index 1270323975..3578a09cb2 100644 --- a/libavcodec/codec_desc.c +++ b/libavcodec/codec_desc.c @@ -1777,14 +1777,14 @@ static const AVCodecDescriptor codec_descriptors[] = { .id = AV_CODEC_ID_DTS, .type = AVMEDIA_TYPE_AUDIO, .name = "dts", - .long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"), + .long_name = NULL_IF_CONFIG_SMALL("DCA (DTS Coherent Acoustics)"), .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS, }, { .id = AV_CODEC_ID_VORBIS, .type = AVMEDIA_TYPE_AUDIO, .name = "vorbis", - .long_name = NULL_IF_CONFIG_SMALL("Vorbis"), + .long_name = NULL_IF_CONFIG_SMALL("Vorbis"), .props = AV_CODEC_PROP_LOSSY, }, { @@ -2282,9 +2282,8 @@ const AVCodecDescriptor *avcodec_descriptor_get_by_name(const char *name) { const AVCodecDescriptor *desc = NULL; - while ((desc = avcodec_descriptor_next(desc))) { + while ((desc = avcodec_descriptor_next(desc))) if (!strcmp(desc->name, name)) return desc; - } return NULL; } |