summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-14 11:13:17 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-03-14 11:13:17 +0000
commitb21c9af936c543cb4003d7aeb90907001305490e (patch)
tree78b1bec133448d43f49d553d2f6fa39f62a34409 /libavcodec/h264.c
parent1153be3be15f0eccbb5055839185c5bf2425bd79 (diff)
reindent after last commit
Originally committed as revision 8399 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 70ec5d3eaa..4fd8e87411 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -8051,17 +8051,17 @@ static int h264_parse(AVCodecParserContext *s,
if(s->flags & PARSER_FLAG_COMPLETE_FRAMES){
next= buf_size;
}else{
- next= find_frame_end(h, buf, buf_size);
+ 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 (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
- }
+ if(next<0){
+ find_frame_end(h, &pc->buffer[pc->last_index + next], -next); //update state
+ }
}
*poutbuf = (uint8_t *)buf;