[vlc-devel] [PATCH 03/13] access/dcp: fix misleading indentation

Filip Roséen filip at atch.se
Tue Oct 11 20:06:15 CEST 2016


These changes gets rid of some of the warnings when compiling the
relevant file, given that the compiler thinks that the indentation is
misleading (which it in all fairness is).
---
 modules/access/dcp/dcpparser.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/access/dcp/dcpparser.cpp b/modules/access/dcp/dcpparser.cpp
index 4a6f554..bd41c2d 100755
--- a/modules/access/dcp/dcpparser.cpp
+++ b/modules/access/dcp/dcpparser.cpp
@@ -1248,19 +1248,19 @@ int Reel::ParseAsset(string p_node, int p_type, TrackType_t e_track) {
                 } else if (node == "AnnotationText") {
                     if ( XmlFile::ReadEndNode( this->p_demux, this->p_xmlReader, node, type, s_value ) )
                         return -1;
-                        asset->setAnnotation(s_value);
+                    asset->setAnnotation(s_value);
                 } else if (node == "IntrinsicDuration") {
                     if ( XmlFile::ReadEndNode( this->p_demux, this->p_xmlReader, node, type, s_value ) )
                         return -1;
-                        asset->setIntrinsicDuration(atoi(s_value.c_str()));
+                    asset->setIntrinsicDuration(atoi(s_value.c_str()));
                 } else if (node == "EntryPoint") {
                     if ( XmlFile::ReadEndNode( this->p_demux, this->p_xmlReader, node, type, s_value ) )
                         return -1;
-                        asset->setEntryPoint(atoi(s_value.c_str()));
+                    asset->setEntryPoint(atoi(s_value.c_str()));
                 } else if (node == "Duration") {
                     if ( XmlFile::ReadEndNode( this->p_demux, this->p_xmlReader, node, type, s_value ) )
                         return -1;
-                        asset->setDuration(atoi(s_value.c_str()));
+                    asset->setDuration(atoi(s_value.c_str()));
                 } else if (node == "KeyId") {
                     if ( XmlFile::ReadEndNode( this->p_demux, this->p_xmlReader, node, type, s_value ) )
                         return -1;
-- 
2.10.0



More information about the vlc-devel mailing list