diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-10-22 20:12:13 +0400 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-10-22 20:12:13 +0400 |
commit | bcd872a73fa4c78e5d6f691b1ef38dcff6a28751 (patch) | |
tree | ea9f1133755360b2a3f0ccc997b49835b24ee75f /libavcodec/gifdec.c | |
parent | d54d396d0893909457576f7bf0c30d8ee8c7b68d (diff) |
removed useless variables
Originally committed as revision 6766 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/gifdec.c')
-rw-r--r-- | libavcodec/gifdec.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavcodec/gifdec.c b/libavcodec/gifdec.c index 555f202bcb..6d794bf4fe 100644 --- a/libavcodec/gifdec.c +++ b/libavcodec/gifdec.c @@ -41,9 +41,7 @@ typedef struct GifState { int background_color_index; int transparent_color_index; int color_resolution; - int image_linesize; uint32_t *image_palette; - int pix_fmt; /* after the frame is displayed, the disposal method is used */ int gce_disposal; @@ -460,11 +458,6 @@ static int gif_decode_frame(AVCodecContext *avctx, void *data, int *data_size, u if (gif_read_header1(s) < 0) return -1; - /* allocate image buffer */ - s->image_linesize = s->screen_width * 3; - s->pix_fmt = PIX_FMT_PAL8; - /* now we are ready: build format streams */ - avctx->pix_fmt = PIX_FMT_PAL8; if (avcodec_check_dimensions(avctx, s->screen_width, s->screen_height)) return -1; |