Commit c1c0ea51 authored by Francois Cartegnie's avatar Francois Cartegnie

Revert "demux: mp4: add Opus codec extra data"

This reverts commit 39353b9c.
parent 01c0cd44
......@@ -738,21 +738,7 @@ int SetupAudioES( demux_t *p_demux, mp4_track_t *p_track, MP4_Box_t *p_sample )
}
break;
}
case ATOM_Opus:
{
MP4_Box_t *p_binary = MP4_BoxGet( p_sample, "dOps" );
if( p_binary && BOXDATA(p_binary) && BOXDATA(p_binary)->i_blob )
{
p_track->fmt.p_extra = malloc( BOXDATA(p_binary)->i_blob );
if( p_track->fmt.p_extra )
{
p_track->fmt.i_extra = BOXDATA(p_binary)->i_blob;
memcpy( p_track->fmt.p_extra, BOXDATA(p_binary)->p_blob,
p_track->fmt.i_extra );
}
}
break;
}
default:
msg_Dbg( p_demux, "Unrecognized FourCC %4.4s", (char *)&p_sample->i_type );
break;
......
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