This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
avcodec/pnmdec: use a more specific pointer type than void in samplecpy()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer
12 years ago
parent
ec8a4841f7
commit
62d07bb321
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/pnmdec.c
+ 1
- 1
libavcodec/pnmdec.c
View 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);
Write
Preview
Loading…
Cancel
Save