| 350 | } |
| 351 | |
| 352 | static void |
| 353 | FfmpegParseMetaData(AVDictionary &dict, |
| 354 | ReplayGainInfo &rg, MixRampInfo &mr) noexcept |
| 355 | { |
| 356 | AVDictionaryEntry *i = nullptr; |
| 357 | |
| 358 | while ((i = av_dict_get(&dict, "", i, |
| 359 | AV_DICT_IGNORE_SUFFIX)) != nullptr) { |
| 360 | const char *name = i->key; |
| 361 | const char *value = i->value; |
| 362 | |
| 363 | if (!ParseReplayGainTag(rg, name, value)) |
| 364 | ParseMixRampTag(mr, name, value); |
| 365 | } |
| 366 | } |
| 367 | |
| 368 | static void |
| 369 | FfmpegParseMetaData(const AVStream &stream, |
no test coverage detected