Mercurial > libavcodec.hg
comparison lcldec.c @ 6375:551232d0fa74 libavcodec
Remove duplicate ;
author | reimar |
---|---|
date | Tue, 19 Feb 2008 21:46:40 +0000 |
parents | dfdff1ca78a7 |
children | 48759bfbd073 |
comparison
equal
deleted
inserted
replaced
6374:3356be010cfe | 6375:551232d0fa74 |
---|---|
134 destptr += 4; | 134 destptr += 4; |
135 srcptr += 4; | 135 srcptr += 4; |
136 } else { | 136 } else { |
137 ofs = *(srcptr++); | 137 ofs = *(srcptr++); |
138 cnt = *(srcptr++); | 138 cnt = *(srcptr++); |
139 ofs += cnt * 256;; | 139 ofs += cnt * 256; |
140 cnt = ((cnt >> 3) & 0x1f) + 1; | 140 cnt = ((cnt >> 3) & 0x1f) + 1; |
141 ofs &= 0x7ff; | 141 ofs &= 0x7ff; |
142 srclen -= 2; | 142 srclen -= 2; |
143 cnt *= 4; | 143 cnt *= 4; |
144 if (destptr + cnt > destptr_end) { | 144 if (destptr + cnt > destptr_end) { |
300 c->decomp_size, c->zstream.total_out); | 300 c->decomp_size, c->zstream.total_out); |
301 return -1; | 301 return -1; |
302 } | 302 } |
303 } | 303 } |
304 encoded = c->decomp_buf; | 304 encoded = c->decomp_buf; |
305 len = c->decomp_size;; | 305 len = c->decomp_size; |
306 #else | 306 #else |
307 av_log(avctx, AV_LOG_ERROR, "BUG! Zlib support not compiled in frame decoder.\n"); | 307 av_log(avctx, AV_LOG_ERROR, "BUG! Zlib support not compiled in frame decoder.\n"); |
308 return -1; | 308 return -1; |
309 #endif | 309 #endif |
310 break; | 310 break; |