[vlc-commits] demux: mp4: don't set extradata for unknown esds

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


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jan 19 16:29:44 2018 +0100| [35ae1962c82ed5f02798d3cc2840e4f60a97be38] | committer: Francois Cartegnie

demux: mp4: don't set extradata for unknown esds

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

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

diff --git a/modules/demux/mp4/essetup.c b/modules/demux/mp4/essetup.c
index 2c74de80ad..0992e748e4 100644
--- a/modules/demux/mp4/essetup.c
+++ b/modules/demux/mp4/essetup.c
@@ -151,7 +151,7 @@ static void SetupESDS( demux_t *p_demux, mp4_track_t *p_track, const MP4_descrip
                   "unknown objectProfileIndication(0x%x) (Track[ID 0x%x])",
                   p_decconfig->i_objectProfileIndication,
                   p_track->i_track_ID );
-        break;
+        return;
     }
 
     p_track->fmt.i_bitrate = p_decconfig->i_avg_bitrate;



More information about the vlc-commits mailing list