Commit 178d2bc
committed
picture_enc: remove dead dimension checks
WebPPictureAllocYUVA(): WebPValidatePicture() 15 lines above already rejects
a non-positive width or height, and uv_* are (w + 1) / 2 and (h + 1) / 2.
=> dead, and sitting *after* the arithmetic they look like they guard.
Change-Id: Ib05f56cced5dac363c6ba036bbdec3c3bf9adbac1 parent 35d6fe0 commit 178d2bc
1 file changed
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | 130 | | |
136 | 131 | | |
137 | 132 | | |
| |||
0 commit comments