mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
reindent after last commit
Originally committed as revision 8399 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
+9
-9
@@ -8051,17 +8051,17 @@ static int h264_parse(AVCodecParserContext *s,
|
|||||||
if(s->flags & PARSER_FLAG_COMPLETE_FRAMES){
|
if(s->flags & PARSER_FLAG_COMPLETE_FRAMES){
|
||||||
next= buf_size;
|
next= buf_size;
|
||||||
}else{
|
}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) {
|
if (ff_combine_frame(pc, next, (uint8_t **)&buf, &buf_size) < 0) {
|
||||||
*poutbuf = NULL;
|
*poutbuf = NULL;
|
||||||
*poutbuf_size = 0;
|
*poutbuf_size = 0;
|
||||||
return buf_size;
|
return buf_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(next<0){
|
if(next<0){
|
||||||
find_frame_end(h, &pc->buffer[pc->last_index + next], -next); //update state
|
find_frame_end(h, &pc->buffer[pc->last_index + next], -next); //update state
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
*poutbuf = (uint8_t *)buf;
|
*poutbuf = (uint8_t *)buf;
|
||||||
|
|||||||
Reference in New Issue
Block a user