Revision b0ddba12 libpostproc/postprocess_internal.h

View differences:

libpostproc/postprocess_internal.h
171 171
        if (stride > 0) {
172 172
                memcpy(dest, src, lines*stride);
173 173
        } else {
174
                memcpy(dest+(lines-1)*stride, src+(lines-1)*stride, -lines*stride);
174
                memcpy((uint8_t*)dest+(lines-1)*stride, (const uint8_t*)src+(lines-1)*stride, -lines*stride);
175 175
        }
176 176
}
177 177

  

Also available in: Unified diff