[vlc-commits] packetizer: fix bs_error invalid deref
Francois Cartegnie
git at videolan.org
Sat Jul 25 01:11:37 CEST 2020
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Jul 25 01:08:40 2020 +0200| [09ec6710f754a741ad3c2c7f430bf3af40149275] | committer: Francois Cartegnie
packetizer: fix bs_error invalid deref
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=09ec6710f754a741ad3c2c7f430bf3af40149275
---
modules/packetizer/mpeg4audio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/packetizer/mpeg4audio.c b/modules/packetizer/mpeg4audio.c
index 48ce90901e..f4c8895f60 100644
--- a/modules/packetizer/mpeg4audio.c
+++ b/modules/packetizer/mpeg4audio.c
@@ -796,7 +796,7 @@ static int Mpeg4ReadAudioSpecificConfig(bs_t *s, mpeg4_asc_t *p_cfg, bool b_with
ppsz_otype[p_cfg->i_object_type], p_cfg->i_object_type,
p_cfg->i_samplerate, p_cfg->i_channel, p_cfg->i_sbr);
#endif
- return bs_error(&s) ? VLC_EGENERIC : VLC_SUCCESS;
+ return bs_error(s) ? VLC_EGENERIC : VLC_SUCCESS;
}
static uint32_t LatmGetValue(bs_t *s)
More information about the vlc-commits
mailing list