summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-02 12:31:55 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-02 12:31:55 +0200
commit62d07bb321a98fc3e3bdd17d804b98450cd5bcbb (patch)
treec1ae345d855acf488c6fa1c6c342b4267bc1eeb1 /libavcodec
parentec8a4841f7e81040f9a2757f23e70dff5e6b33a4 (diff)
avcodec/pnmdec: use a more specific pointer type than void in samplecpy()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/pnmdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pnmdec.c b/libavcodec/pnmdec.c
index c7a7a44680..f88fc2623b 100644
--- a/libavcodec/pnmdec.c
+++ b/libavcodec/pnmdec.c
@@ -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);