Mercurial > libavcodec.hg
comparison bmp.c @ 5327:de0e893ef264 libavcodec
Remove redundant assignment of CODEC_ID_BMP.
patch by mark cox melbournemark+ffmpeg _at_ gmail.com
thread: [PATCH] Remove unessesary assignment of CODEC_ID_BMP
date: Mon, 9 Jul 2007 20:12:28 +1000
author | aurel |
---|---|
date | Sat, 14 Jul 2007 17:14:16 +0000 |
parents | 8ecfb7ecbb53 |
children | abe584ca935c |
comparison
equal
deleted
inserted
replaced
5326:923aacd40ee8 | 5327:de0e893ef264 |
---|---|
109 rgb[0] = bytestream_get_le32(&buf); | 109 rgb[0] = bytestream_get_le32(&buf); |
110 rgb[1] = bytestream_get_le32(&buf); | 110 rgb[1] = bytestream_get_le32(&buf); |
111 rgb[2] = bytestream_get_le32(&buf); | 111 rgb[2] = bytestream_get_le32(&buf); |
112 } | 112 } |
113 | 113 |
114 avctx->codec_id = CODEC_ID_BMP; | |
115 avctx->width = width; | 114 avctx->width = width; |
116 avctx->height = height > 0? height: -height; | 115 avctx->height = height > 0? height: -height; |
117 | 116 |
118 avctx->pix_fmt = PIX_FMT_NONE; | 117 avctx->pix_fmt = PIX_FMT_NONE; |
119 | 118 |