Speedup for cr2 decode
This commit is contained in:
@@ -79,7 +79,7 @@ inline void fseek (IMFILE* f, int p, int how)
|
||||
inline int fgetc (IMFILE* f)
|
||||
{
|
||||
|
||||
if (f->pos < f->size) {
|
||||
if (LIKELY(f->pos < f->size)) {
|
||||
if (f->plistener && ++f->progress_current >= f->progress_next) {
|
||||
imfile_update_progress(f);
|
||||
}
|
||||
|
Reference in New Issue
Block a user