]> git.sesse.net Git - vlc/commitdiff
small rebert for i_length, enables to get meta itags from mp4 again.
authorIlkka Ollakka <ileoo@videolan.org>
Fri, 11 Apr 2008 20:57:57 +0000 (23:57 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Fri, 11 Apr 2008 21:01:07 +0000 (00:01 +0300)
I bisected this unable to get meta from mp4-file to this
8632e67b53ba6aefa42d080668eaa13dcfe42cf1 commit and this particular line.

modules/demux/mp4/libmp4.c

index 1cb76d41ceac7794097eacad96b612d7f97bc024..229e97ac2621aac098c1e7c0c2c0cfdd2883534e 100644 (file)
@@ -2187,7 +2187,7 @@ static int MP4_ReadBox_0xa9xxx( stream_t *p_stream, MP4_Box_t *p_box )
     p_box->data.p_0xa9xxx->psz_text = NULL;
 
     MP4_GET2BYTES( i16 );
-    i_length = i16 + 1;
+    i_length = i16;
 
     if( i_length > 0 )
     {