[FFmpeg-devel] [PATCH] avcodec/get_bits: consider bit_size of 0 an error

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Oct 28 17:02:10 CET 2013


On Mon, Oct 28, 2013 at 04:52:27PM +0000, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>

Could you add the reason for this change to the commit message?
In theory being able to use 0 might work as an optimization in
some cases, so I don't think supporting it is as nonsense as it
might seem.


More information about the ffmpeg-devel mailing list