diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-01-26 19:41:59 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-26 20:05:15 +0100 |
commit | 22eef8d738bfd56c2149b3de46bdc729eaa3d05f (patch) | |
tree | f375f13c0877008efa4e4d72bbf4a38a294de8d6 | |
parent | 9decfc17bb76da34734296048d390b176abf404c (diff) | |
download | ffmpeg-22eef8d738bfd56c2149b3de46bdc729eaa3d05f.tar.gz |
snowenc: dont crash with gray but exit with an error msg.
Fixes Ticket839
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/snowenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/snowenc.c b/libavcodec/snowenc.c index ab31533f6d..284e755732 100644 --- a/libavcodec/snowenc.c +++ b/libavcodec/snowenc.c @@ -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; |