lavc/utils: use AVPixFmtDescriptor to probe palette formats
Also use the input frame format instead of the AVCodecContext one according to the documentation of AVCodecContext.get_buffer2().
Showing
Please
register
or
sign in
to comment
Also use the input frame format instead of the AVCodecContext one according to the documentation of AVCodecContext.get_buffer2().