mirror of https://git.ffmpeg.org/ffmpeg.git
snowenc: dont crash with gray but exit with an error msg.
Fixes Ticket839 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
9decfc17bb
commit
22eef8d738
|
@ -218,7 +218,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
|
|||
// case PIX_FMT_YUV444P:
|
||||
// case PIX_FMT_YUV422P:
|
||||
case PIX_FMT_YUV420P:
|
||||
case PIX_FMT_GRAY8:
|
||||
// case PIX_FMT_GRAY8:
|
||||
// case PIX_FMT_YUV411P:
|
||||
// case PIX_FMT_YUV410P:
|
||||
s->colorspace_type= 0;
|
||||
|
|
Loading…
Reference in New Issue