[vlc-commits] packetizer: mpeg4audio: fix LD samples per frame

Francois Cartegnie git at videolan.org
Wed Oct 7 21:34:43 CEST 2020


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Oct  7 18:42:48 2020 +0200| [e6bf07795503dba9de559c15025b8ce5022ec393] | committer: Francois Cartegnie

packetizer: mpeg4audio: fix LD samples per frame

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

 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 f4c8895f60..55b0445e4d 100644
--- a/modules/packetizer/mpeg4audio.c
+++ b/modules/packetizer/mpeg4audio.c
@@ -560,7 +560,7 @@ static int Mpeg4GASpecificConfig(mpeg4_asc_t *p_cfg, bs_t *s)
 
 static int Mpeg4ELDSpecificConfig(mpeg4_asc_t *p_cfg, bs_t *s)
 {
-    p_cfg->i_frame_length = bs_read1(s) ? 960 : 480;
+    p_cfg->i_frame_length = bs_read1(s) ? 480 : 512;
 
     /* ELDSpecificConfig Table 4.180 */
 



More information about the vlc-commits mailing list