[vlc-commits] demux: mp4: clear up original fourcc on esds

Francois Cartegnie git at videolan.org
Fri Jan 19 18:44:15 CET 2018


vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jan 19 16:30:10 2018 +0100| [7fe584a01887507cc499ec7dc04bb27d66dc28f5] | committer: Jean-Baptiste Kempf

demux: mp4: clear up original fourcc on esds

otherwise has mp4a as original... which maps to aac

(cherry picked from commit f2fda11533397bee45349abacdc8317c15f04379)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index 1266364bc5..f970542850 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -153,6 +153,7 @@ static void SetupESDS( demux_t *p_demux, mp4_track_t *p_track, const MP4_descrip
         return;
     }
 
+    p_track->fmt.i_original_fourcc = 0; /* so we don't have MP4A as original fourcc */
     p_track->fmt.i_bitrate = p_decconfig->i_avg_bitrate;
 
     p_track->fmt.i_extra = p_decconfig->i_decoder_specific_info_len;



More information about the vlc-commits mailing list