MCPcopy Create free account
hub / github.com/dirkvdb/ffmpegthumbnailer / isStillImageCodec

Function isStillImageCodec

libffmpegthumbnailer/moviedecoder.cpp:123–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123static bool isStillImageCodec(AVCodecID codecId)
124{
125 return codecId == AV_CODEC_ID_MJPEG || codecId == AV_CODEC_ID_PNG;
126}
127
128int32_t MovieDecoder::findPreferredVideoStream(bool preferEmbeddedMetadata)
129{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected