aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Cox <melbournemark+ffmpeg@gmail.com>2007-07-14 17:14:16 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-07-14 17:14:16 +0000
commita6540c9f16eacfafcd1b68e6201af526af65beb6 (patch)
tree5825f2b3f8b0d40ff7f0377da81fb2ea940a7a6e
parent283614b5fcb7a73208bd882f914071f4c0f7c164 (diff)
downloadffmpeg-a6540c9f16eacfafcd1b68e6201af526af65beb6.tar.gz
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 Originally committed as revision 9675 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/bmp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/bmp.c b/libavcodec/bmp.c
index d1cfdce6d9..8ff2fc658a 100644
--- a/libavcodec/bmp.c
+++ b/libavcodec/bmp.c
@@ -111,7 +111,6 @@ static int bmp_decode_frame(AVCodecContext *avctx,
rgb[2] = bytestream_get_le32(&buf);
}
- avctx->codec_id = CODEC_ID_BMP;
avctx->width = width;
avctx->height = height > 0? height: -height;