Re: [FFmpeg-devel] [PATCH 1/5] avutil/pixdesc: Remove always-false checks

2022-09-29 Thread Andreas Rheinhardt
Andreas Rheinhardt: > ff_check_pixfmt_descriptors() was added in commit > 20e99a9c10cdbe9ad659dce5bdec569d744f8219. At this time, > the values of enum AVPixelFormat were not contiguous; > instead there was a jump from 111 to 291 (or from 115 > to 295 depending upon AV_PIX_FMT_ABI_GIT_MASTER). > ff_

[FFmpeg-devel] [PATCH 1/5] avutil/pixdesc: Remove always-false checks

2022-09-26 Thread Andreas Rheinhardt
ff_check_pixfmt_descriptors() was added in commit 20e99a9c10cdbe9ad659dce5bdec569d744f8219. At this time, the values of enum AVPixelFormat were not contiguous; instead there was a jump from 111 to 291 (or from 115 to 295 depending upon AV_PIX_FMT_ABI_GIT_MASTER). ff_check_pixfmt_descriptors() accou