diff common.c @ 2281:7b345b735ac7 libavcodec

do not call (av_)abort()
author michael
date Fri, 01 Oct 2004 12:31:11 +0000
parents 45a1592dadca
children 26560d4fdb1f
line wrap: on
line diff
--- a/common.c	Thu Sep 30 15:02:07 2004 +0000
+++ b/common.c	Fri Oct 01 12:31:11 2004 +0000
@@ -190,7 +190,7 @@
 #endif
                     if (table[j][1] /*bits*/ != 0) {
                         av_log(NULL, AV_LOG_ERROR, "incorrect codes\n");
-                        av_abort();
+                        return -1;
                     }
                     table[j][1] = n; //bits
                     table[j][0] = i; //code