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
get_byte may not return -1 on error, since it can lead to a negative backptr.
Originally committed as revision 4854 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Reimar Döffinger
19 years ago
parent
3f1965c4ac
commit
a9318df2f8
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/lzo.c
+ 1
- 1
libavcodec/lzo.c
View File
@@ -34,7 +34,7 @@ static inline int get_byte(LZOContext *c) {
if (c->in < c->in_end)
if (c->in < c->in_end)
return *c->in++;
return *c->in++;
c->error |= LZO_INPUT_DEPLETED;
c->error |= LZO_INPUT_DEPLETED;
return
-1
;
return
0
;
}
}
/**
/**
Write
Preview
Loading…
Cancel
Save