19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: image.c,v 1.48 2011-03-08 19:16:32 Isibaar Exp $ |
* $Id: image.c,v 1.49 2011-04-06 14:30:14 Isibaar Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
151 |
|
|
152 |
/* According to the Standard Clause 7.6.4, padding is done starting at 16 |
/* According to the Standard Clause 7.6.4, padding is done starting at 16 |
153 |
* pixel width and height multiples. This was not respected in old xvids */ |
* pixel width and height multiples. This was not respected in old xvids */ |
154 |
if (bs_version >= SETEDGES_BUG_BEFORE && |
if ((bs_version >= SETEDGES_BUG_BEFORE && |
155 |
bs_version < SETEDGES_BUG_AFTER || |
bs_version < SETEDGES_BUG_AFTER) || |
156 |
bs_version >= SETEDGES_BUG_REFIXED) { |
bs_version >= SETEDGES_BUG_REFIXED) { |
157 |
width = (width+15)&~15; |
width = (width+15)&~15; |
158 |
height = (height+15)&~15; |
height = (height+15)&~15; |