summaryrefslogtreecommitdiff
path: root/libavcodec/h261_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/h261_parser.c')
-rw-r--r--libavcodec/h261_parser.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/h261_parser.c b/libavcodec/h261_parser.c
index 4d20afe8d6..3fb86db125 100644
--- a/libavcodec/h261_parser.c
+++ b/libavcodec/h261_parser.c
@@ -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;