| 112 | } |
| 113 | |
| 114 | void Codec::unregisterDecoderFactory(const std::string decoder_id) { |
| 115 | NVIMGCODEC_LOG_TRACE(logger_, "Codec::unregisterDecoder"); |
| 116 | for (auto it = decoders_.begin(); it != decoders_.end(); ++it) { |
| 117 | if (it->second->getDecoderId() == decoder_id) { |
| 118 | decoders_.erase(it); |
| 119 | return; |
| 120 | } |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | } // namespace nvimgcodec |
no test coverage detected