avcodec/pnmdec: use a more specific pointer type than void in samplecpy()
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 2 Sep 2013 10:31:55 +0000 (12:31 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 2 Sep 2013 10:31:55 +0000 (12:31 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/pnmdec.c

index c7a7a44..f88fc26 100644 (file)
@@ -24,7 +24,7 @@
 #include "put_bits.h"
 #include "pnm.h"
 
-static void samplecpy(void *dst, const void *src, int n, int maxval)
+static void samplecpy(uint8_t *dst, const uint8_t *src, int n, int maxval)
 {
     if (maxval <= 255) {
         memcpy(dst, src, n);