diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-09-02 12:31:55 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-02 12:31:55 +0200 |
commit | 62d07bb321a98fc3e3bdd17d804b98450cd5bcbb (patch) | |
tree | c1ae345d855acf488c6fa1c6c342b4267bc1eeb1 /libavcodec/pnmdec.c | |
parent | ec8a4841f7e81040f9a2757f23e70dff5e6b33a4 (diff) | |
download | ffmpeg-62d07bb321a98fc3e3bdd17d804b98450cd5bcbb.tar.gz |
avcodec/pnmdec: use a more specific pointer type than void in samplecpy()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/pnmdec.c')
-rw-r--r-- | libavcodec/pnmdec.c | 2 |
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); |