[FFmpeg-devel] [libav-devel] [PATCH] vorbisdec: avoid calling get_bits to read 0 bits
Andreas Cadhalpun
andreas.cadhalpun at googlemail.com
Sun Jan 3 01:37:21 CET 2016
On 03.01.2016 00:16, Luca Barbato wrote:
> On 02/01/16 23:46, Andreas Cadhalpun wrote:
>> Maybe, but on the other hand there are only about a dozen or so places in
>> the complete code base that would benefit from that.
>>
>> Do you think that's enough to justify adding another helper function?
>
> It makes the code easier to follow, I wouldn't be against even if it would be for 6 =)
Actually there were already two such helpers, so unifying this makes sense.
I've sent a patch series replacing this patch.
Best regards,
Andreas
More information about the ffmpeg-devel
mailing list