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 /libavcodec/snowenc.c | |
parent | 9decfc17bb76da34734296048d390b176abf404c (diff) | |
download | ffmpeg-streaming-22eef8d738bfd56c2149b3de46bdc729eaa3d05f.zip ffmpeg-streaming-22eef8d738bfd56c2149b3de46bdc729eaa3d05f.tar.gz |
snowenc: dont crash with gray but exit with an error msg.
Fixes Ticket839
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/snowenc.c')
-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 ab31533..284e755 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; |