Mercurial > libavcodec.hg
comparison mjpeg_parser.c @ 10001:944156621f05 libavcodec
cosmetics, reindent
author | bcoudurier |
---|---|
date | Sun, 02 Aug 2009 08:46:43 +0000 |
parents | 334d727f7f7a |
children | 878d449793e1 |
comparison
equal
deleted
inserted
replaced
10000:334d727f7f7a | 10001:944156621f05 |
---|---|
79 int next; | 79 int next; |
80 | 80 |
81 if(s->flags & PARSER_FLAG_COMPLETE_FRAMES){ | 81 if(s->flags & PARSER_FLAG_COMPLETE_FRAMES){ |
82 next= buf_size; | 82 next= buf_size; |
83 }else{ | 83 }else{ |
84 next= find_frame_end(pc, buf, buf_size); | 84 next= find_frame_end(pc, buf, buf_size); |
85 | 85 |
86 if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) { | 86 if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) { |
87 *poutbuf = NULL; | 87 *poutbuf = NULL; |
88 *poutbuf_size = 0; | 88 *poutbuf_size = 0; |
89 return buf_size; | 89 return buf_size; |
90 } | 90 } |
91 } | 91 } |
92 | 92 |
93 *poutbuf = buf; | 93 *poutbuf = buf; |
94 *poutbuf_size = buf_size; | 94 *poutbuf_size = buf_size; |
95 return next; | 95 return next; |