diff options
author | Michael Niedermayer | 2008-01-17 00:12:04 +0000 |
---|---|---|
committer | Michael Niedermayer | 2008-01-17 00:12:04 +0000 |
commit | 76d7c327eba042106b729e9d671b6f85f515b1af (patch) | |
tree | 18e09838a63e04af84fca3262d3d6761f61c5f4c /libavcodec/gif.c | |
parent | 1ca5d97fc8e513fb6f2ca62dee3c1e6ef4218c12 (diff) |
Replace idiotic (what moron wrote that code?) "buffer overflow" message by
abort()
Originally committed as revision 11546 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/gif.c')
-rw-r--r-- | libavcodec/gif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/gif.c b/libavcodec/gif.c index c22a41823f..ee3a13929f 100644 --- a/libavcodec/gif.c +++ b/libavcodec/gif.c @@ -136,7 +136,7 @@ static void gif_put_bits_rev(PutBitContext *s, int n, unsigned int value) //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) { |