[vlc-commits] Revert "demux: mp4: add Opus codec extra data"

Francois Cartegnie git at videolan.org
Thu Jan 15 18:35:16 CET 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jan 15 15:43:24 2015 +0100| [c1c0ea51b5cd1f18c1e51e167fbe2abc75a5b3cc] | committer: Francois Cartegnie

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

This reverts commit 39353b9c31c2f3117d2139acb7ebed370fce0f14.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c1c0ea51b5cd1f18c1e51e167fbe2abc75a5b3cc
---

 modules/demux/mp4/essetup.c |   16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index ff98353..3bf5c61 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -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;



More information about the vlc-commits mailing list