[vlc-commits] demux: ts: dont alter own params on loop
Francois Cartegnie
git at videolan.org
Tue Mar 31 21:22:39 CEST 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Mar 27 19:10:32 2015 +0100| [d1d7c0d6267e735b2e338fb76fff19191bce751a] | committer: Francois Cartegnie
demux: ts: dont alter own params on loop
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d1d7c0d6267e735b2e338fb76fff19191bce751a
---
modules/demux/mpeg4_iod.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/modules/demux/mpeg4_iod.c b/modules/demux/mpeg4_iod.c
index f505b2a..39dc161 100644
--- a/modules/demux/mpeg4_iod.c
+++ b/modules/demux/mpeg4_iod.c
@@ -343,9 +343,10 @@ static uint8_t IOD_Desc_Read( vlc_object_t *p_object, unsigned *pi_data, const u
case IODTag_ESDescr: /**/
{
iod_descriptor_t *p_iod = params.p_iod;
- params.es_descr = &p_iod->es_descr[i_read_count];
+ iod_read_params_t childparams;
+ childparams.es_descr = &p_iod->es_descr[i_read_count];
if ( !IOD_ESDesc_Read( p_object, i_descriptor_data,
- p_descriptor_data, params ) )
+ p_descriptor_data, childparams ) )
{};
break;
}
More information about the vlc-commits
mailing list