vlc | branch: master | Filip Roséen <fi...@atch.se> | Tue Oct 11 20:06:15 2016 
+0200| [f6be291f1c6ff20455553bf12a2390f06b86a98a] | committer: Thomas Guillem

access/dcp: fix misleading indentation

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).

Signed-off-by: Thomas Guillem <tho...@gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f6be291f1c6ff20455553bf12a2390f06b86a98a
---

 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;

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to