OSDN Git Service

sgidec: fix buffer size check in expand_rle_row()
authorAnton Khirnov <anton@khirnov.net>
Thu, 2 Jan 2014 08:34:20 +0000 (09:34 +0100)
committerAnton Khirnov <anton@khirnov.net>
Mon, 6 Jan 2014 07:18:45 +0000 (08:18 +0100)
commitf4a8a0080537484154bb74e08ec76cbcbd25484b
treef6924aa89fd933436205f6c53a4afcf1d9de8d50
parentadb199d1bc7f86aa6b85986f40190ec17f99d34f
sgidec: fix buffer size check in expand_rle_row()

Right now it will spuriously fail if the linesize is exactly equal to
the data width.

CC:libav-stable@libav.org
libavcodec/sgidec.c