[FFmpeg-cvslog] h264_parser: Fix whitespace after previous change.

Philip Langdale git at videolan.org
Tue Apr 5 05:33:37 CEST 2011


ffmpeg | branch: master | Philip Langdale <philipl at overt.org> | Mon Mar 28 21:43:23 2011 -0700| [9c09dead87cafaef12640ac8d9a009912c367022] | committer: Philip Langdale

h264_parser: Fix whitespace after previous change.

'git diff -w' confirmed to return nothing.

Signed-off-by: Philip Langdale <philipl at overt.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9c09dead87cafaef12640ac8d9a009912c367022
---

 libavcodec/h264_parser.c |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c
index 3b5627d..7ae5d5a 100644
--- a/libavcodec/h264_parser.c
+++ b/libavcodec/h264_parser.c
@@ -272,21 +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;
-        }
+    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 (s->flags & PARSER_FLAG_ONCE) {
+        s->flags &= PARSER_FLAG_COMPLETE_FRAMES;
+    }
 
     *poutbuf = buf;
     *poutbuf_size = buf_size;



More information about the ffmpeg-cvslog mailing list