[vlc-devel] [vlc-commits] codec/lpcm: fix frame length calculation

Filip Roséen filip at atch.se
Wed Dec 7 10:33:06 CET 2016


Hi everyone,

On 2016-12-07 10:11, Filip Roséen wrote:

> vlc | branch: master | Filip Roséen <filip at atch.se>
>     | Wed Dec  7 09:48:35 2016 +0100
>     | [8509018c6471495761fc1eb464424985cc1c9e9d]
>     | committer: Jean-Baptiste Kempf
> 
> codec/lpcm: fix frame length calculation
> 
> i_frame_length denotes the number of bytes for a given audio-output
> buffer, with that in mind it is quite easy to see that dividing 8 by
> the number of bits in a sample (and not the other way around) yields
> an incorrect result.

For the record, this patch was (accidentally, due to a slight
misunderstanding) prematurely merged; as such it has now been reverted
due to deeper analyzis of what is actually causing the behavior which
this patch tried to address.

It has, given the above, been removed from the git log.

Sorry for any confusion.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20161207/1272f591/attachment.html>


More information about the vlc-devel mailing list