X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libswscale%2Fswscale.h;h=bdde675a8d3e9d30d220dfb6f6ba710e245a88bd;hb=ba5ff1b31ea46098ef24ac43d8b37f451adec0b7;hp=f84e8798bebfb9d8f6844423bd17b0268f3e88ca;hpb=3a1df52e3ce70f41c4f8b9900be2c2907b7e21ef;p=ffmpeg diff --git a/libswscale/swscale.h b/libswscale/swscale.h index f84e8798beb..bdde675a8d3 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.h @@ -32,7 +32,7 @@ #include "libavutil/pixfmt.h" #define LIBSWSCALE_VERSION_MAJOR 2 -#define LIBSWSCALE_VERSION_MINOR 0 +#define LIBSWSCALE_VERSION_MINOR 1 #define LIBSWSCALE_VERSION_MICRO 0 #define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \ @@ -354,5 +354,12 @@ void sws_convertPalette8ToPacked32(const uint8_t *src, uint8_t *dst, int num_pix */ void sws_convertPalette8ToPacked24(const uint8_t *src, uint8_t *dst, int num_pixels, const uint8_t *palette); +/** + * Get the AVClass for swsContext. It can be used in combination with + * AV_OPT_SEARCH_FAKE_OBJ for examining options. + * + * @see av_opt_find(). + */ +const AVClass *sws_get_class(void); #endif /* SWSCALE_SWSCALE_H */