Commit ea207508 authored by michael's avatar michael

Replace idiotic (what moron wrote that code?) "buffer overflow" message by

abort()


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11546 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent f2f78bb0
...@@ -136,7 +136,7 @@ static void gif_put_bits_rev(PutBitContext *s, int n, unsigned int value) ...@@ -136,7 +136,7 @@ static void gif_put_bits_rev(PutBitContext *s, int n, unsigned int value)
//printf("bitbuf = %08x\n", bit_buf); //printf("bitbuf = %08x\n", bit_buf);
if (s->buf_ptr >= s->buf_end) if (s->buf_ptr >= s->buf_end)
puts("bit buffer overflow !!"); // should never happen ! who got rid of the callback ??? abort();
// flush_buffer_rev(s); // flush_buffer_rev(s);
bit_cnt=bit_cnt + n - 32; bit_cnt=bit_cnt + n - 32;
if (bit_cnt == 0) { if (bit_cnt == 0) {
......
...@@ -137,7 +137,7 @@ static void gif_put_bits_rev(PutBitContext *s, int n, unsigned int value) ...@@ -137,7 +137,7 @@ static void gif_put_bits_rev(PutBitContext *s, int n, unsigned int value)
//printf("bitbuf = %08x\n", bit_buf); //printf("bitbuf = %08x\n", bit_buf);
s->buf_ptr+=4; s->buf_ptr+=4;
if (s->buf_ptr >= s->buf_end) if (s->buf_ptr >= s->buf_end)
puts("bit buffer overflow !!"); // should never happen ! who got rid of the callback ??? abort();
// flush_buffer_rev(s); // flush_buffer_rev(s);
bit_cnt=bit_cnt + n - 32; bit_cnt=bit_cnt + n - 32;
if (bit_cnt == 0) { if (bit_cnt == 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment