changeset 2938:ae1f1ef873ef libavformat

Replace idiotic (what moron wrote that code?) "buffer overflow" message by abort()
author michael
date Thu, 17 Jan 2008 00:12:04 +0000
parents f3070076d901
children 7e246e837176
files gif.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gif.c	Wed Jan 16 22:47:51 2008 +0000
+++ b/gif.c	Thu Jan 17 00:12:04 2008 +0000
@@ -137,7 +137,7 @@
         //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) {