comparison mpegaudio_parser.c @ 9599:6409c6ba8040 libavcodec

Cosmetics: Fix indentation after r18741.
author cehoyos
date Tue, 05 May 2009 15:48:04 +0000
parents 407470044819
children 78b2fc137c27
comparison
equal deleted inserted replaced
9598:407470044819 9599:6409c6ba8040
221 buf_size -= len; 221 buf_size -= len;
222 } 222 }
223 223
224 if(s->frame_size > 0 && buf_ptr - buf == s->inbuf_ptr - s->inbuf 224 if(s->frame_size > 0 && buf_ptr - buf == s->inbuf_ptr - s->inbuf
225 && buf_size + buf_ptr - buf >= s->frame_size){ 225 && buf_size + buf_ptr - buf >= s->frame_size){
226 *poutbuf = buf; 226 *poutbuf = buf;
227 *poutbuf_size = s->frame_size; 227 *poutbuf_size = s->frame_size;
228 buf_ptr = buf + s->frame_size; 228 buf_ptr = buf + s->frame_size;
229 s->inbuf_ptr = s->inbuf; 229 s->inbuf_ptr = s->inbuf;
230 s->frame_size = 0; 230 s->frame_size = 0;
231 break; 231 break;
232 } 232 }
233 233
234 // next_data: 234 // next_data:
235 if (s->frame_size > 0 && 235 if (s->frame_size > 0 &&
236 (s->inbuf_ptr - s->inbuf) >= s->frame_size) { 236 (s->inbuf_ptr - s->inbuf) >= s->frame_size) {
237 *poutbuf = s->inbuf; 237 *poutbuf = s->inbuf;
238 *poutbuf_size = s->inbuf_ptr - s->inbuf; 238 *poutbuf_size = s->inbuf_ptr - s->inbuf;
239 s->inbuf_ptr = s->inbuf; 239 s->inbuf_ptr = s->inbuf;
240 s->frame_size = 0; 240 s->frame_size = 0;
241 break; 241 break;
242 } 242 }
243 } 243 }