changeset 6152:448466ff832a libavcodec

Replace idiotic (what moron wrote that code?) "buffer overflow" message by abort()
author michael
date Thu, 17 Jan 2008 00:12:04 +0000
parents 2af9eab80fad
children a935fe8071ae
files gif.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gif.c	Wed Jan 16 21:21:30 2008 +0000
+++ b/gif.c	Thu Jan 17 00:12:04 2008 +0000
@@ -136,7 +136,7 @@
 
         //printf("bitbuf = %08x\n", bit_buf);
         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) {