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

Francois Cartegnie git at videolan.org
Fri Jan 19 17:38:18 CET 2018


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jan 19 16:30:10 2018 +0100| [f2fda11533397bee45349abacdc8317c15f04379] | committer: Francois Cartegnie

demux: mp4: clear up original fourcc on esds

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

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

 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 0992e748e4..1358946b90 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -154,6 +154,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