aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2011-03-28 21:43:23 -0700
committerAnton Khirnov <anton@khirnov.net>2011-06-13 20:51:58 +0200
commit25f05ddb1af4bd398fa92cd135e48fafe23bd92a (patch)
treeb32cdbea17132514b3f7beace314d039be6a8117
parenta26ce1e2df102ad085cf1a7891722ef64b80ea24 (diff)
downloadffmpeg-25f05ddb1af4bd398fa92cd135e48fafe23bd92a.tar.gz
h264_parser: Fix whitespace after previous change.
Signed-off-by: Philip Langdale <philipl@overt.org> Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r--libavcodec/h264_parser.c29
1 files changed, 15 insertions, 14 deletions
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c
index a3149534a8..c39baeb739 100644
--- a/libavcodec/h264_parser.c
+++ b/libavcodec/h264_parser.c
@@ -272,20 +272,21 @@ static int h264_parse(AVCodecParserContext *s,
}
}
- 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;
- }
+ 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;
+ }
*poutbuf = buf;
*poutbuf_size = buf_size;