summaryrefslogtreecommitdiff
path: root/libavcodec/codec_desc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-14 19:15:57 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-14 19:16:04 +0100
commit11e66d20d51f782c0193728115f2ed33521fe6b0 (patch)
tree39ab6087bf42ad3bbde707c088e888a82304b164 /libavcodec/codec_desc.c
parent56a498bbba3f71a049d0a735e6421c0b38e01890 (diff)
parent999d31d354f1f0616a09691913659ac0abdcc899 (diff)
Merge commit '999d31d354f1f0616a09691913659ac0abdcc899'
* commit '999d31d354f1f0616a09691913659ac0abdcc899': codec_desc: K&R formatting cosmetics Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/codec_desc.c')
-rw-r--r--libavcodec/codec_desc.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index a217d3567c..b62e8d1238 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -1972,14 +1972,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,
},
{
@@ -2661,9 +2661,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;
}