mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
h264_parser: Fix whitespace after previous change.
Signed-off-by: Philip Langdale <philipl@overt.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
a26ce1e2df
commit
25f05ddb1a
@ -272,20 +272,21 @@ static int h264_parse(AVCodecParserContext *s,
|
||||
}
|
||||
}
|
||||
|
||||
parse_nal_units(s, avctx, buf, buf_size);
|
||||
parse_nal_units(s, avctx, buf, buf_size);
|
||||
|
||||
if (h->sei_cpb_removal_delay >= 0) {
|
||||
s->dts_sync_point = h->sei_buffering_period_present;
|
||||
s->dts_ref_dts_delta = h->sei_cpb_removal_delay;
|
||||
s->pts_dts_delta = h->sei_dpb_output_delay;
|
||||
} else {
|
||||
s->dts_sync_point = INT_MIN;
|
||||
s->dts_ref_dts_delta = INT_MIN;
|
||||
s->pts_dts_delta = INT_MIN;
|
||||
}
|
||||
if (s->flags & PARSER_FLAG_ONCE) {
|
||||
s->flags &= PARSER_FLAG_COMPLETE_FRAMES;
|
||||
}
|
||||
if (h->sei_cpb_removal_delay >= 0) {
|
||||
s->dts_sync_point = h->sei_buffering_period_present;
|
||||
s->dts_ref_dts_delta = h->sei_cpb_removal_delay;
|
||||
s->pts_dts_delta = h->sei_dpb_output_delay;
|
||||
} else {
|
||||
s->dts_sync_point = INT_MIN;
|
||||
s->dts_ref_dts_delta = INT_MIN;
|
||||
s->pts_dts_delta = INT_MIN;
|
||||
}
|
||||
|
||||
if (s->flags & PARSER_FLAG_ONCE) {
|
||||
s->flags &= PARSER_FLAG_COMPLETE_FRAMES;
|
||||
}
|
||||
|
||||
*poutbuf = buf;
|
||||
*poutbuf_size = buf_size;
|
||||
|
Loading…
Reference in New Issue
Block a user