Mercurial > libavcodec.hg
comparison h264.c @ 4665:9b35cbf0b25b libavcodec
reindent after last commit
author | bcoudurier |
---|---|
date | Wed, 14 Mar 2007 11:13:17 +0000 |
parents | f7c444dc3b04 |
children | 25dd62b93846 |
comparison
equal
deleted
inserted
replaced
4664:f7c444dc3b04 | 4665:9b35cbf0b25b |
---|---|
8049 int next; | 8049 int next; |
8050 | 8050 |
8051 if(s->flags & PARSER_FLAG_COMPLETE_FRAMES){ | 8051 if(s->flags & PARSER_FLAG_COMPLETE_FRAMES){ |
8052 next= buf_size; | 8052 next= buf_size; |
8053 }else{ | 8053 }else{ |
8054 next= find_frame_end(h, buf, buf_size); | 8054 next= find_frame_end(h, buf, buf_size); |
8055 | 8055 |
8056 if (ff_combine_frame(pc, next, (uint8_t **)&buf, &buf_size) < 0) { | 8056 if (ff_combine_frame(pc, next, (uint8_t **)&buf, &buf_size) < 0) { |
8057 *poutbuf = NULL; | 8057 *poutbuf = NULL; |
8058 *poutbuf_size = 0; | 8058 *poutbuf_size = 0; |
8059 return buf_size; | 8059 return buf_size; |
8060 } | 8060 } |
8061 | 8061 |
8062 if(next<0){ | 8062 if(next<0){ |
8063 find_frame_end(h, &pc->buffer[pc->last_index + next], -next); //update state | 8063 find_frame_end(h, &pc->buffer[pc->last_index + next], -next); //update state |
8064 } | 8064 } |
8065 } | 8065 } |
8066 | 8066 |
8067 *poutbuf = (uint8_t *)buf; | 8067 *poutbuf = (uint8_t *)buf; |
8068 *poutbuf_size = buf_size; | 8068 *poutbuf_size = buf_size; |
8069 return next; | 8069 return next; |