OSDN Git Service

Remove redundant assignment of CODEC_ID_BMP.
authorMark Cox <melbournemark+ffmpeg@gmail.com>
Sat, 14 Jul 2007 17:14:16 +0000 (17:14 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Sat, 14 Jul 2007 17:14:16 +0000 (17:14 +0000)
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

libavcodec/bmp.c

index d1cfdce..8ff2fc6 100644 (file)
@@ -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;