[FFmpeg-devel] [PATCH] IFF: Add error checking to byterun1 decoder

Sebastian Vater cdgs.basty
Sun May 16 22:07:49 CEST 2010

Hello guys!

As suggested by Ronald, I separated error checking in byterun1 decoder
from the function merge patch.

So this just patches latest iff-function-merge.patch in order to add
error checking to byterun1 decompression routines by returning an
negative number of bytes consumed.

Besides this, I optimized the decode_byterun1 routine a bit since it can
now assume that width is always > 0


Best regards,
                   :-) Basty/CDGS (-:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: iff-byterun1-error.patch
Type: text/x-patch
Size: 3824 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100516/ec403800/attachment.bin>

More information about the ffmpeg-devel mailing list