allow paletted formats
This commit is contained in:
parent
1d858e076f
commit
df484323e1
|
@ -15,6 +15,7 @@ static int validate_video_pixel_format(enum AVPixelFormat format)
|
|||
case AV_PIX_FMT_GRAY8:
|
||||
case AV_PIX_FMT_GRAY10:
|
||||
case AV_PIX_FMT_GRAY12:
|
||||
case AV_PIX_FMT_PAL8:
|
||||
case AV_PIX_FMT_RGB8:
|
||||
case AV_PIX_FMT_RGB24:
|
||||
case AV_PIX_FMT_RGB32:
|
||||
|
|
Loading…
Reference in a new issue