@return number of planes in pix_fmt, a negative AVERROR if pix_fmt is not a valid pixel format.
See Implementation
@return number of planes in pix_fmt, a negative AVERROR if pix_fmt is not a valid pixel format.