[FFmpeg-devel] [PATCH] avcodec/put_bits: fix off be one
Paul B Mahol
onemda at gmail.com
Sun Jan 24 18:02:12 CET 2016
On 1/24/16, Paul B Mahol <onemda at gmail.com> wrote:
> On 1/24/16, Ronald S. Bultje <rsbultje at gmail.com> wrote:
>> On Sun, Jan 24, 2016 at 11:41 AM, Paul B Mahol <onemda at gmail.com> wrote:
>>> patch attached.
>> I think that's wrong. buf_end is buf_start+size, so if size=1, this
>> writing up to and including buf_start, which overflows size=1.
> Assert happens otherwise when encoding flac.
ffmpeg -i http://granjow.net/uploads/kdenlive/samples/red-leaf-tips.avi o.flac
More information about the ffmpeg-devel