mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 01:49:40 +00:00
avcodec/pnmdec: use a more specific pointer type than void in samplecpy()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ec8a4841f7
commit
62d07bb321
@ -24,7 +24,7 @@
|
|||||||
#include "put_bits.h"
|
#include "put_bits.h"
|
||||||
#include "pnm.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) {
|
if (maxval <= 255) {
|
||||||
memcpy(dst, src, n);
|
memcpy(dst, src, n);
|
||||||
|
Loading…
Reference in New Issue
Block a user