diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-12-03 00:05:06 +0300 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-12-03 00:05:06 +0300 |
commit | af7436ae1d26d3431377410775e62f12b5c4c0d5 (patch) | |
tree | e5de613c8c344a0e26a4ef5a554c5cf366e7c3f8 /libavcodec/gif.c | |
parent | cc26bf0d06a6828c8b10d9ec8626d887df246f12 (diff) |
remove useless params
Originally committed as revision 20709 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/gif.c')
-rw-r--r-- | libavcodec/gif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/gif.c b/libavcodec/gif.c index 7112219d2a..80c13ae4e9 100644 --- a/libavcodec/gif.c +++ b/libavcodec/gif.c @@ -85,7 +85,7 @@ static int gif_image_write_header(uint8_t **bytestream, static int gif_image_write_image(uint8_t **bytestream, int width, int height, - const uint8_t *buf, int linesize, int pix_fmt) + const uint8_t *buf, int linesize) { PutBitContext p; uint8_t buffer[200]; /* 100 * 9 / 8 = 113 */ @@ -162,7 +162,7 @@ static int gif_encode_frame(AVCodecContext *avctx, unsigned char *outbuf, int bu p->pict_type = FF_I_TYPE; p->key_frame = 1; gif_image_write_header(&outbuf_ptr, avctx->width, avctx->height, (uint32_t *)pict->data[1]); - gif_image_write_image(&outbuf_ptr, avctx->width, avctx->height, pict->data[0], pict->linesize[0], PIX_FMT_PAL8); + gif_image_write_image(&outbuf_ptr, avctx->width, avctx->height, pict->data[0], pict->linesize[0]); return outbuf_ptr - outbuf; } |