From 76d7c327eba042106b729e9d671b6f85f515b1af Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 17 Jan 2008 00:12:04 +0000 Subject: Replace idiotic (what moron wrote that code?) "buffer overflow" message by abort() Originally committed as revision 11546 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/gif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/gif.c') diff --git a/libavformat/gif.c b/libavformat/gif.c index 8092f374c0..7b71faea93 100644 --- a/libavformat/gif.c +++ b/libavformat/gif.c @@ -137,7 +137,7 @@ static void gif_put_bits_rev(PutBitContext *s, int n, unsigned int value) //printf("bitbuf = %08x\n", bit_buf); s->buf_ptr+=4; 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); bit_cnt=bit_cnt + n - 32; if (bit_cnt == 0) { -- cgit v1.2.3