mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-02-17 11:28:05 +00:00
codec_desc: K&R formatting cosmetics
This commit is contained in:
parent
7a650caf64
commit
999d31d354
@ -1777,14 +1777,14 @@ static const AVCodecDescriptor codec_descriptors[] = {
|
|||||||
.id = AV_CODEC_ID_DTS,
|
.id = AV_CODEC_ID_DTS,
|
||||||
.type = AVMEDIA_TYPE_AUDIO,
|
.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.name = "dts",
|
.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,
|
.props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_LOSSLESS,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.id = AV_CODEC_ID_VORBIS,
|
.id = AV_CODEC_ID_VORBIS,
|
||||||
.type = AVMEDIA_TYPE_AUDIO,
|
.type = AVMEDIA_TYPE_AUDIO,
|
||||||
.name = "vorbis",
|
.name = "vorbis",
|
||||||
.long_name = NULL_IF_CONFIG_SMALL("Vorbis"),
|
.long_name = NULL_IF_CONFIG_SMALL("Vorbis"),
|
||||||
.props = AV_CODEC_PROP_LOSSY,
|
.props = AV_CODEC_PROP_LOSSY,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -2282,9 +2282,8 @@ const AVCodecDescriptor *avcodec_descriptor_get_by_name(const char *name)
|
|||||||
{
|
{
|
||||||
const AVCodecDescriptor *desc = NULL;
|
const AVCodecDescriptor *desc = NULL;
|
||||||
|
|
||||||
while ((desc = avcodec_descriptor_next(desc))) {
|
while ((desc = avcodec_descriptor_next(desc)))
|
||||||
if (!strcmp(desc->name, name))
|
if (!strcmp(desc->name, name))
|
||||||
return desc;
|
return desc;
|
||||||
}
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user