Commit 167a895e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

MP4: recognize 3gp4 brand in debug

3gp4 is not compatible to isom, while 5, 6 and 7 should be
Ref #4979
parent bba02007
...@@ -96,6 +96,7 @@ ...@@ -96,6 +96,7 @@
#define FOURCC_rtp VLC_FOURCC( 'r', 't', 'p', ' ' ) #define FOURCC_rtp VLC_FOURCC( 'r', 't', 'p', ' ' )
#define FOURCC_isom VLC_FOURCC( 'i', 's', 'o', 'm' ) #define FOURCC_isom VLC_FOURCC( 'i', 's', 'o', 'm' )
#define FOURCC_3gp4 VLC_FOURCC( '3', 'g', 'p', '4' )
#define FOURCC_esds VLC_FOURCC( 'e', 's', 'd', 's' ) #define FOURCC_esds VLC_FOURCC( 'e', 's', 'd', 's' )
#define FOURCC__mp3 VLC_FOURCC( '.', 'm', 'p', '3' ) #define FOURCC__mp3 VLC_FOURCC( '.', 'm', 'p', '3' )
......
...@@ -334,6 +334,9 @@ static int Open( vlc_object_t * p_this ) ...@@ -334,6 +334,9 @@ static int Open( vlc_object_t * p_this )
"ISO Media file (isom) version %d.", "ISO Media file (isom) version %d.",
p_ftyp->data.p_ftyp->i_minor_version ); p_ftyp->data.p_ftyp->i_minor_version );
break; break;
case( FOURCC_3gp4 ):
msg_Dbg( p_demux, "3gp Media file version 4" );
break;
default: default:
msg_Dbg( p_demux, msg_Dbg( p_demux,
"unrecognized major file specification (%4.4s).", "unrecognized major file specification (%4.4s).",
......
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