Mercurial > libavcodec.hg
comparison pnmenc.c @ 12381:2ba9068e748d libavcodec
Fix buffer overrun if idx is negative (it can be down to -23>>4), by prepending
two padding zeroes before it. Should fix fate failures on openBSD and crashes
on MacOSX (that I cannot reproduce).
author | rbultje |
---|---|
date | Mon, 09 Aug 2010 13:54:59 +0000 |
parents | 8a4984c5cacc |
children |
comparison
equal
deleted
inserted
replaced
12380:e402b74c4b62 | 12381:2ba9068e748d |
---|