]> git.sesse.net Git - vlc/commitdiff
Do not display invalid fourcc for meta data atom.
authorLaurent Aimar <fenrir@videolan.org>
Fri, 29 Jun 2007 22:33:17 +0000 (22:33 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Fri, 29 Jun 2007 22:33:17 +0000 (22:33 +0000)
modules/demux/mp4/libmp4.c

index 3c2bf4526c6a67dd00a64b65dc2d2147bd3a6c65..f9159c906a8a1723c9adf58a84e20f06e3afed28 100644 (file)
@@ -2099,8 +2099,8 @@ static int MP4_ReadBox_0xa9xxx( stream_t *p_stream, MP4_Box_t *p_box )
 
 #ifdef MP4_VERBOSE
         msg_Dbg( p_stream,
-                 "read box: \"%4.4s\" text=`%s'",
-                 (char*)&p_box->i_type,
+                 "read box: \"c%3.3s\" text=`%s'",
+                 ((char*)&p_box->i_type + 1),
                  p_box->data.p_0xa9xxx->psz_text );
 #endif
     }
@@ -2134,8 +2134,8 @@ static int MP4_ReadBox_0xa9xxx( stream_t *p_stream, MP4_Box_t *p_box )
                 p_box->data.p_0xa9xxx->psz_text[i_data_len] = '\0';
 #ifdef MP4_VERBOSE
         msg_Dbg( p_stream,
-                 "read box: \"%4.4s\" text=`%s'",
-                 (char*)&p_box->i_type,
+                 "read box: \"c%3.3s\" text=`%s'",
+                 ((char*)&p_box->i_type+1),
                  p_box->data.p_0xa9xxx->psz_text );
 #endif
             }