Hi On Wed, Dec 18, 2024 at 03:24:59PM +0100, Niklas Haas wrote: > From: Niklas Haas <g...@haasn.dev> > > Fixes: ticket #9520 > Signed-off-by: Niklas Haas <g...@haasn.dev> > Sponsored-by: Sovereign Tech Fund > --- > libswscale/swscale.c | 2 + > libswscale/swscale_unscaled.c | 81 ++++++++++++++++++++++++++++++++++- > 2 files changed, 81 insertions(+), 2 deletions(-) > > diff --git a/libswscale/swscale.c b/libswscale/swscale.c > index 96634acfd6..bd5b6370db 100644 > --- a/libswscale/swscale.c > +++ b/libswscale/swscale.c > @@ -910,6 +910,8 @@ void ff_update_palette(SwsInternal *c, const uint32_t > *pal) > case AV_PIX_FMT_BGR32_1: > #if HAVE_BIGENDIAN > case AV_PIX_FMT_BGR24: > + case AV_PIX_FMT_BGRP: > + case AV_PIX_FMT_BGRAP: > #endif
breaks MIPS src/libswscale/swscale.c: In function ‘ff_update_palette’: src/libswscale/swscale.c:913:14: error: ‘AV_PIX_FMT_BGRP’ undeclared (first use in this function); did you mean ‘AV_PIX_FMT_BGR0’? case AV_PIX_FMT_BGRP: ^~~~~~~~~~~~~~~ AV_PIX_FMT_BGR0 src/libswscale/swscale.c:913:14: note: each undeclared identifier is reported only once for each function it appears in src/libswscale/swscale.c:914:14: error: ‘AV_PIX_FMT_BGRAP’ undeclared (first use in this function); did you mean ‘AV_PIX_FMT_BGRP’? case AV_PIX_FMT_BGRAP: ^~~~~~~~~~~~~~~~ AV_PIX_FMT_BGRP thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Frequently ignored answer#1 FFmpeg bugs should be sent to our bugtracker. User questions about the command line tools should be sent to the ffmpeg-user ML. And questions about how to use libav* should be sent to the libav-user ML.
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".