MCPcopy Create free account
hub / github.com/MusicPlayerDaemon/MPD / IsPicture

Function IsPicture

src/decoder/plugins/FfmpegDecoderPlugin.cxx:113–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113[[gnu::pure]]
114static bool
115IsPicture(const AVStream &stream) noexcept
116{
117 return stream.codecpar->codec_type == AVMEDIA_TYPE_VIDEO &&
118 (stream.disposition & AV_DISPOSITION_ATTACHED_PIC) != 0 &&
119 stream.attached_pic.size > 0;
120}
121
122static const AVStream *
123FindPictureStream(const AVFormatContext &format_context) noexcept

Callers 1

FindPictureStreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected