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
ptx: fix inverted check for sufficient data
Fix regression introduced in
2b53e69
.
tags/n0.9
Janne Grunau
13 years ago
parent
28101f6c4e
commit
8d61eef917
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/ptx.c
+ 1
- 1
libavcodec/ptx.c
View File
@@ -84,7 +84,7 @@ static int ptx_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
ptr = p->data[0];
stride = p->linesize[0];
for (y = 0; y < h && buf_end - buf
<
w * bytes_per_pixel; y++) {
for (y = 0; y < h && buf_end - buf
>=
w * bytes_per_pixel; y++) {
#if HAVE_BIGENDIAN
unsigned int x;
for (x=0; x<w*bytes_per_pixel; x+=bytes_per_pixel)
Write
Preview
Loading…
Cancel
Save