Mercurial > libavformat.hg
comparison gif.c @ 326:a44f75c31b8d libavformat
removing unused var & converting 64->32bit
author | michael |
---|---|
date | Fri, 05 Dec 2003 23:12:03 +0000 |
parents | 3dd3646e0164 |
children | 60f897e8dd2d |
comparison
equal
deleted
inserted
replaced
325:e1d4300bf783 | 326:a44f75c31b8d |
---|---|
272 gif_flush_put_bits_rev(&p); | 272 gif_flush_put_bits_rev(&p); |
273 } | 273 } |
274 if(pbBufPtr(&p) - p.buf > 0) { | 274 if(pbBufPtr(&p) - p.buf > 0) { |
275 put_byte(pb, pbBufPtr(&p) - p.buf); /* byte count of the packet */ | 275 put_byte(pb, pbBufPtr(&p) - p.buf); /* byte count of the packet */ |
276 put_buffer(pb, p.buf, pbBufPtr(&p) - p.buf); /* the actual buffer */ | 276 put_buffer(pb, p.buf, pbBufPtr(&p) - p.buf); /* the actual buffer */ |
277 p.data_out_size += pbBufPtr(&p) - p.buf; | |
278 p.buf_ptr = p.buf; /* dequeue the bytes off the bitstream */ | 277 p.buf_ptr = p.buf; /* dequeue the bytes off the bitstream */ |
279 } | 278 } |
280 if(left<=GIF_CHUNKS) { | 279 if(left<=GIF_CHUNKS) { |
281 put_byte(pb, 0x00); /* end of image block */ | 280 put_byte(pb, 0x00); /* end of image block */ |
282 } | 281 } |