diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-01-06 19:47:34 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-01-06 20:00:25 +0100 |
commit | 60ab582a4e87f1d668c41b886200474fdc4bac83 (patch) | |
tree | 25531d062b786a583ecfe4d146b0e8c8366821aa /libavcodec/huffyuvdec.c | |
parent | 22f59a8cbeb104ccfbc46834fe3afab968281909 (diff) | |
download | ffmpeg-60ab582a4e87f1d668c41b886200474fdc4bac83.tar.gz |
avcodec/huffyuv: add GRAY8 support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/huffyuvdec.c')
-rw-r--r-- | libavcodec/huffyuvdec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/huffyuvdec.c b/libavcodec/huffyuvdec.c index 383b0f0122..b37c457b84 100644 --- a/libavcodec/huffyuvdec.c +++ b/libavcodec/huffyuvdec.c @@ -364,6 +364,9 @@ static av_cold int decode_init(AVCodecContext *avctx) &s->chroma_v_shift); } else { switch ( (s->chroma<<10) | (s->yuv<<9) | (s->alpha<<8) | ((s->bps-1)<<4) | s->chroma_h_shift | (s->chroma_v_shift<<2)) { + case 0x070: + avctx->pix_fmt = AV_PIX_FMT_GRAY8; + break; case 0x470: avctx->pix_fmt = AV_PIX_FMT_GBRP; break; |