Browse Source

sws: fix warning: new qualifiers in middle of multi-level non-const cast are unsafe warning.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer 14 years ago
parent
commit
d3d97d43d5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libswscale/swscale_unscaled.c

+ 1
- 1
libswscale/swscale_unscaled.c View File

@@ -798,7 +798,7 @@ int sws_scale(struct SwsContext *c, const uint8_t* const srcSlice[],
int dstStride2[4]= {dstStride[0], dstStride[1], dstStride[2], dstStride[3]}; int dstStride2[4]= {dstStride[0], dstStride[1], dstStride[2], dstStride[3]};


reset_ptr(src2, c->srcFormat); reset_ptr(src2, c->srcFormat);
reset_ptr((const uint8_t**)dst2, c->dstFormat);
reset_ptr((void*)dst2, c->dstFormat);


/* reset slice direction at end of frame */ /* reset slice direction at end of frame */
if (srcSliceY + srcSliceH == c->srcH) if (srcSliceY + srcSliceH == c->srcH)


Loading…
Cancel
Save