# HG changeset patch # User bcoudurier # Date 1173870797 0 # Node ID 9b35cbf0b25bf13965395bcc24bf9a659b39b530 # Parent f7c444dc3b04db94c39379aa5a6bfce8455820e5 reindent after last commit diff -r f7c444dc3b04 -r 9b35cbf0b25b h264.c --- a/h264.c Wed Mar 14 11:12:02 2007 +0000 +++ b/h264.c Wed Mar 14 11:13:17 2007 +0000 @@ -8051,17 +8051,17 @@ if(s->flags & PARSER_FLAG_COMPLETE_FRAMES){ next= buf_size; }else{ - next= find_frame_end(h, buf, buf_size); - - if (ff_combine_frame(pc, next, (uint8_t **)&buf, &buf_size) < 0) { - *poutbuf = NULL; - *poutbuf_size = 0; - return buf_size; - } - - if(next<0){ - find_frame_end(h, &pc->buffer[pc->last_index + next], -next); //update state - } + next= find_frame_end(h, buf, buf_size); + + if (ff_combine_frame(pc, next, (uint8_t **)&buf, &buf_size) < 0) { + *poutbuf = NULL; + *poutbuf_size = 0; + return buf_size; + } + + if(next<0){ + find_frame_end(h, &pc->buffer[pc->last_index + next], -next); //update state + } } *poutbuf = (uint8_t *)buf;