mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-01 12:22:09 +00:00
reindent after previous commit.
Patch by Anton Khirnov, wyskas at gmail Originally committed as revision 23467 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
795c6a6b1f
commit
acf85d7b9d
@ -122,18 +122,18 @@ void metadata_conv(AVMetadata **pm, const AVMetadataConv *d_conv,
|
|||||||
|
|
||||||
while((mtag=av_metadata_get(*pm, "", mtag, AV_METADATA_IGNORE_SUFFIX))) {
|
while((mtag=av_metadata_get(*pm, "", mtag, AV_METADATA_IGNORE_SUFFIX))) {
|
||||||
key = mtag->key;
|
key = mtag->key;
|
||||||
if (s_conv)
|
if (s_conv)
|
||||||
for (sc=s_conv; sc->native; sc++)
|
for (sc=s_conv; sc->native; sc++)
|
||||||
if (!strcasecmp(key, sc->native)) {
|
if (!strcasecmp(key, sc->native)) {
|
||||||
key = sc->generic;
|
key = sc->generic;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (d_conv)
|
if (d_conv)
|
||||||
for (dc=d_conv; dc->native; dc++)
|
for (dc=d_conv; dc->native; dc++)
|
||||||
if (!strcasecmp(key, dc->generic)) {
|
if (!strcasecmp(key, dc->generic)) {
|
||||||
key = dc->native;
|
key = dc->native;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
av_metadata_set2(&dst, key, mtag->value, 0);
|
av_metadata_set2(&dst, key, mtag->value, 0);
|
||||||
}
|
}
|
||||||
av_metadata_free(pm);
|
av_metadata_free(pm);
|
||||||
|
Loading…
Reference in New Issue
Block a user