[vlc-devel] [PATCH] mpeg4audio packetizer: 0 for channel config in ADTS header
Rafaël Carré
funman at videolan.org
Tue Sep 11 16:26:15 CEST 2012
Hello,
Le 11/09/2012 14:29, XilasZ a écrit :
> A value of 0 for channel config in ADTS header lead to "Invalid ADTS
> header", preventing sound playback on some streams.
>
> But it is a valid value (cf http://wiki.multimedia.cx/index.php?title=ADTS).
> 0 means that channel config is not specified in the header, but in another
> structure, following the header.
Nice work!
Does it fix a bug in trac?
If yes please add "Close #xxxx" to the log so when committed the bug
will be closed automatically.
> Besides, in mpeg4audio.c, in case of 0, Mpeg4GAProgramConfigElement is
> called to find the channel config from this structure.
That function still has "/* TODO compute channels count ? */" though,
should we fix that TODO before committing that patch?
> So the check on the header is wrong, this patch fix it.
More information about the vlc-devel
mailing list