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: fix unaligned read
Fixes fate-lavf-pam on alpha Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer
12 years ago
parent
62d07bb321
commit
4fb3e1a652
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
@@ -31,7 +31,7 @@ static void samplecpy(uint8_t *dst, const uint8_t *src, int n, int maxval)
} else {
int i;
for (i=0; i<n/2; i++) {
((uint16_t *)dst)[i] =
av_be2ne16(((uint16_t *)src)[i]
);
((uint16_t *)dst)[i] =
AV_RB16(src+2*i
);
}
}
}
Write
Preview
Loading…
Cancel
Save