Mercurial > libavcodec.hg
comparison faxcompr.c @ 8490:b579b143bbd4 libavcodec
indent
author | michael |
---|---|
date | Fri, 26 Dec 2008 18:39:24 +0000 |
parents | e3c04f8aad5f |
children | 18737839ed27 |
comparison
equal
deleted
inserted
replaced
8489:e3c04f8aad5f | 8490:b579b143bbd4 |
---|---|
210 }else if(cmode == 9 || cmode == 10){ | 210 }else if(cmode == 9 || cmode == 10){ |
211 av_log(avctx, AV_LOG_ERROR, "Special modes are not supported (yet)\n"); | 211 av_log(avctx, AV_LOG_ERROR, "Special modes are not supported (yet)\n"); |
212 return -1; | 212 return -1; |
213 }else{//vertical mode | 213 }else{//vertical mode |
214 run = run_off - offs + (cmode - 5); | 214 run = run_off - offs + (cmode - 5); |
215 run_off -= *--ref; | 215 run_off -= *--ref; |
216 offs += run; | 216 offs += run; |
217 if(offs > width || run > width){ | 217 if(offs > width || run > width){ |
218 av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n"); | 218 av_log(avctx, AV_LOG_ERROR, "Run went out of bounds\n"); |
219 return -1; | 219 return -1; |
220 } | 220 } |