lsws/utils: Make gray10 and gray12 full-scale like gray8 and gray16.

pull/254/merge
Carl Eugen Hoyos 8 years ago
parent d89ac691c9
commit c1616b454d
  1. 4
      libswscale/utils.c
  2. 2
      libswscale/version.h

@ -1016,6 +1016,10 @@ static int handle_jpeg(enum AVPixelFormat *format)
return 1;
case AV_PIX_FMT_GRAY8:
case AV_PIX_FMT_YA8:
case AV_PIX_FMT_GRAY10LE:
case AV_PIX_FMT_GRAY10BE:
case AV_PIX_FMT_GRAY12LE:
case AV_PIX_FMT_GRAY12BE:
case AV_PIX_FMT_GRAY16LE:
case AV_PIX_FMT_GRAY16BE:
case AV_PIX_FMT_YA16BE:

@ -28,7 +28,7 @@
#define LIBSWSCALE_VERSION_MAJOR 4
#define LIBSWSCALE_VERSION_MINOR 7
#define LIBSWSCALE_VERSION_MICRO 100
#define LIBSWSCALE_VERSION_MICRO 101
#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
LIBSWSCALE_VERSION_MINOR, \

Loading…
Cancel
Save