Originally committed as revision 19559 to svn://svn.ffmpeg.org/ffmpeg/trunk
Baptiste Coudurier authored on 2009/08/02 17:46:43... | ... |
@@ -81,13 +81,13 @@ static int jpeg_parse(AVCodecParserContext *s, |
81 | 81 |
if(s->flags & PARSER_FLAG_COMPLETE_FRAMES){ |
82 | 82 |
next= buf_size; |
83 | 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) { |
|
87 |
- *poutbuf = NULL; |
|
88 |
- *poutbuf_size = 0; |
|
89 |
- return buf_size; |
|
90 |
- } |
|
86 |
+ if (ff_combine_frame(pc, next, &buf, &buf_size) < 0) { |
|
87 |
+ *poutbuf = NULL; |
|
88 |
+ *poutbuf_size = 0; |
|
89 |
+ return buf_size; |
|
90 |
+ } |
|
91 | 91 |
} |
92 | 92 |
|
93 | 93 |
*poutbuf = buf; |