Mercurial > libavcodec.hg
changeset 5478:41103dc22ad5 libavcodec
Add support for grayscale MJPEG streams sent by Axis cameras such as the
207MW (http://www.axis.com/products/cam_207mw/).
patch by Sam Hocevar, sam+ffmpeg zoy org
author | diego |
---|---|
date | Sat, 04 Aug 2007 20:49:39 +0000 |
parents | ec1f268792cd |
children | 943c732c905d |
files | mjpegdec.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mjpegdec.c Sat Aug 04 20:32:57 2007 +0000 +++ b/mjpegdec.c Sat Aug 04 20:49:39 2007 +0000 @@ -298,6 +298,9 @@ else s->avctx->pix_fmt = PIX_FMT_GRAY8; break; + case 0x110000: + s->avctx->pix_fmt = PIX_FMT_GRAY8; + break; case 0x121111: s->avctx->pix_fmt = s->cs_itu601 ? PIX_FMT_YUV440P : PIX_FMT_YUVJ440P; break;