Commit 62d07bb3 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/pnmdec: use a more specific pointer type than void in samplecpy()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ec8a4841
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment