| 130 | } |
| 131 | |
| 132 | static const char * |
| 133 | GetMimeType(const AVCodecDescriptor &codec) noexcept |
| 134 | { |
| 135 | return codec.mime_types != nullptr |
| 136 | ? *codec.mime_types |
| 137 | : nullptr; |
| 138 | } |
| 139 | |
| 140 | static const char * |
| 141 | GetMimeType(const AVStream &stream) noexcept |