• wm4's avatar
    pixfmt: remove misleading and broken documentation · a64a5773
    wm4 authored
    This was probably broken some time ago. The breakage is now part of the
    ABI. For example, we have:
    
        AV_PIX_FMT_XYZ12BE
        AV_PIX_FMT_NV16
        AV_PIX_FMT_NV20LE
    
    AV_PIX_FMT_NV20LE is wrong. It has the value 113, but as little-endian
    format it should be even. This must have been quite obvious when these
    formats were added (because of the AV_PIX_FMT_XYZ12BE entry), but
    nobody cared or knew about this.
    
    The future libavutil major bump will also break this additionally,
    because disabling FF_API_VDPAU will remove an odd number of entries from
    the middle of the enum.
    Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
    a64a5773
pixfmt.h 24 KB