Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
2280:785b6b4682b5 | 2281:7b345b735ac7 |
---|---|
188 av_log(NULL, AV_LOG_DEBUG, "%4x: code=%d n=%d\n", | 188 av_log(NULL, AV_LOG_DEBUG, "%4x: code=%d n=%d\n", |
189 j, i, n); | 189 j, i, n); |
190 #endif | 190 #endif |
191 if (table[j][1] /*bits*/ != 0) { | 191 if (table[j][1] /*bits*/ != 0) { |
192 av_log(NULL, AV_LOG_ERROR, "incorrect codes\n"); | 192 av_log(NULL, AV_LOG_ERROR, "incorrect codes\n"); |
193 av_abort(); | 193 return -1; |
194 } | 194 } |
195 table[j][1] = n; //bits | 195 table[j][1] = n; //bits |
196 table[j][0] = i; //code | 196 table[j][0] = i; //code |
197 j++; | 197 j++; |
198 } | 198 } |