demux: mp4: escape introduced trigraph sequence
authorFrancois Cartegnie <fcvlcdev@free.fr>
Thu, 25 Sep 2014 21:53:42 +0000 (23:53 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Thu, 25 Sep 2014 21:54:20 +0000 (23:54 +0200)
modules/demux/mp4/libmp4.c

index 576507a..d0057ed 100644 (file)
@@ -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;