MCPcopy Create free account
hub / github.com/IENT/YUView / setAVCodecID

Method setAVCodecID

YUViewLib/src/ffmpeg/AVCodecParametersWrapper.cpp:277–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275}
276
277void AVCodecParametersWrapper::setAVCodecID(AVCodecID id)
278{
279 if (this->libVer.avformat.major == 57 || this->libVer.avformat.major == 58 ||
280 this->libVer.avformat.major == 59 || this->libVer.avformat.major == 60)
281 {
282 auto p = reinterpret_cast<AVCodecParameters_57_58_59_60 *>(this->param);
283 p->codec_id = id;
284 this->codec_id = id;
285 }
286}
287
288void AVCodecParametersWrapper::setExtradata(QByteArray data)
289{

Callers 1

decoderFFmpegMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected