Browse Source

Fix indentation.

tags/n0.8
Reimar Döffinger 14 years ago
parent
commit
9a962f3055
2 changed files with 12 additions and 12 deletions
  1. +6
    -6
      libavcodec/h261_parser.c
  2. +6
    -6
      libavcodec/h263_parser.c

+ 6
- 6
libavcodec/h261_parser.c View File

@@ -73,12 +73,12 @@ static int h261_parse(AVCodecParserContext *s,
if (s->flags & PARSER_FLAG_COMPLETE_FRAMES) {
next = buf_size;
} else {
next= h261_find_frame_end(pc,avctx, buf, buf_size);
if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
*poutbuf = NULL;
*poutbuf_size = 0;
return buf_size;
}
next= h261_find_frame_end(pc,avctx, buf, buf_size);
if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
*poutbuf = NULL;
*poutbuf_size = 0;
return buf_size;
}
}
*poutbuf = buf;
*poutbuf_size = buf_size;


+ 6
- 6
libavcodec/h263_parser.c View File

@@ -73,13 +73,13 @@ static int h263_parse(AVCodecParserContext *s,
if (s->flags & PARSER_FLAG_COMPLETE_FRAMES) {
next = buf_size;
} else {
next= ff_h263_find_frame_end(pc, buf, buf_size);
next= ff_h263_find_frame_end(pc, buf, buf_size);

if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
*poutbuf = NULL;
*poutbuf_size = 0;
return buf_size;
}
if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) {
*poutbuf = NULL;
*poutbuf_size = 0;
return buf_size;
}
}

*poutbuf = buf;


Loading…
Cancel
Save