Skip to content

Commit

Permalink
no need for padding, multiple of 4 works everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jul 26, 2024
1 parent 134459a commit a65457b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion xpra/codecs/jpeg/decoder.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ def decompress_to_rgb(rgb_format: str, data: bytes, unsigned long alpha_offset=0
w, h, subsamp_str, TJCS_STR.get(cs, cs))
cdef int flags = 0 #TJFLAG_BOTTOMUP
cdef double elapsed
#TODO: add padding and rounding?
cdef double start = monotonic()
cdef int stride = w*4
cdef unsigned long size = stride*h
Expand Down

0 comments on commit a65457b

Please sign in to comment.