Commit de7040d3 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: mp4: escape introduced trigraph sequence

parent f490a08f
...@@ -3922,12 +3922,12 @@ static void MP4_BoxDumpStructure_Internal( stream_t *s, ...@@ -3922,12 +3922,12 @@ static void MP4_BoxDumpStructure_Internal( stream_t *s,
snprintf( &str[i_level * 4], sizeof(str) - 4*i_level, snprintf( &str[i_level * 4], sizeof(str) - 4*i_level,
"+ %4.4s size %"PRIu64" offset %ld%s", "+ %4.4s size %"PRIu64" offset %ld%s",
(char*)&p_box->i_type, p_box->i_size, p_box->i_pos, (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 else
snprintf( &str[i_level * 4], sizeof(str) - 4*i_level, snprintf( &str[i_level * 4], sizeof(str) - 4*i_level,
"+ c%3.3s size %"PRIu64" offset %ld%s", "+ c%3.3s size %"PRIu64" offset %ld%s",
(char*)&p_box->i_type+1, p_box->i_size, p_box->i_pos, (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 ); msg_Dbg( s, "%s", str );
} }
p_child = p_box->p_first; p_child = p_box->p_first;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment