[Ffmpeg-devel] qtrle bug

matthieu castet castet.matthieu
Wed Oct 12 11:51:41 CEST 2005


matthieu castet wrote:
> Diego Biurrun wrote:
> 
>> On Tue, Oct 11, 2005 at 04:06:37PM +0200, matthieu castet wrote:
>>
>>> this video http://penso.info/tmp/auth_generator-demo.mov seem to not 
>>> play fine : the background isn't set.
>>
>>
>>
>> Actually MPlayer and ffplay fail while xine works fine.
>>
> There is also that error with mplayer and ffplay :
> [qtrle @ 0x8668f08]Problem: pixel_ptr = -388, pixel_limit = 1458688
> 
> Removing CHECK_PIXEL_PTR check make the file works, but that's not the 
> right fix.

Ok, I found the bug,

rle_code was an signed char, and when it was '*4' in the check it 
overflow and become negative.

This patch fixes the bug.

Matthieu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qtrle.patch
Type: text/x-patch
Size: 981 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20051012/894e7d0a/attachment.bin>



More information about the ffmpeg-devel mailing list