Commit 0d881ef1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

mp4: fix format string

parent dbdd6348
......@@ -4033,13 +4033,15 @@ static void MP4_BoxDumpStructure_Internal( stream_t *s,
}
if( MP4_BOX_TYPE_ASCII() )
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,
"+ %4.4s size %"PRIu64" offset %ju%s",
(char*)&p_box->i_type, p_box->i_size,
(uintmax_t)p_box->i_pos,
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,
"+ c%3.3s size %"PRIu64" offset %ju%s",
(char*)&p_box->i_type+1, p_box->i_size,
(uintmax_t)p_box->i_pos,
p_box->e_flags & BOX_FLAG_INCOMPLETE ? " (\?\?\?\?)" : "" );
msg_Dbg( s, "%s", str );
}
......
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