[vlc-commits] demux: mp4: escape introduced trigraph sequence

Francois Cartegnie git at videolan.org
Thu Sep 25 23:54:46 CEST 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Sep 25 23:53:42 2014 +0200| [de7040d3183064599be4c758049637dffe82c44a] | committer: Francois Cartegnie

demux: mp4: escape introduced trigraph sequence

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

 modules/demux/mp4/libmp4.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/mp4/libmp4.c b/modules/demux/mp4/libmp4.c
index 576507a..d0057ed 100644
--- a/modules/demux/mp4/libmp4.c
+++ b/modules/demux/mp4/libmp4.c
@@ -3922,12 +3922,12 @@ static void MP4_BoxDumpStructure_Internal( stream_t *s,
             snprintf( &str[i_level * 4], sizeof(str) - 4*i_level,
                       "+ %4.4s size %"PRIu64" offset %ld%s",
                         (char*)&p_box->i_type, p_box->i_size, p_box->i_pos,
-                    p_box->e_flags & BOX_FLAG_INCOMPLETE ? " (????)" : "" );
+                    p_box->e_flags & BOX_FLAG_INCOMPLETE ? " (\?\?\?\?)" : "" );
         else
             snprintf( &str[i_level * 4], sizeof(str) - 4*i_level,
                       "+ c%3.3s size %"PRIu64" offset %ld%s",
                         (char*)&p_box->i_type+1, p_box->i_size, p_box->i_pos,
-                    p_box->e_flags & BOX_FLAG_INCOMPLETE ? " (????)" : "" );
+                    p_box->e_flags & BOX_FLAG_INCOMPLETE ? " (\?\?\?\?)" : "" );
         msg_Dbg( s, "%s", str );
     }
     p_child = p_box->p_first;



More information about the vlc-commits mailing list