Skip to content

Commit

Permalink
allow files > 2GB
Browse files Browse the repository at this point in the history
Hi,
I'm not entirely sure this change at itself is enough to allow files to get larger than 2GB: maybe AVI files have an internal limit or so.

In that case, maybe you want to extend the error codes a bit. Currently it returns -1 for all errors. I suggest to add e.g. -2 to indicate that the AVI limit has been reached.
  • Loading branch information
folkertvanheusden authored and rolinh committed Oct 14, 2017
1 parent ac72de4 commit 53fe51e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ LN ?= ln
MAKE ?= make
rm ?= rm

CFLAGS = -O3 -std=c89 -fPIC ${INCLUDES}
CFLAGS = -O3 -std=c89 -fPIC ${INCLUDES} -D_FILE_OFFSET_BITS=64
CFDEBUG = -O0 -g3 -pedantic -Wall -Wextra -Wconversion -Wstrict-prototypes \
-Wcast-qual -Wcast-align -Wshadow -Wredundant-decls -Wundef \
-Wfloat-equal -Wmissing-include-dirs -Wswitch-default -Wswitch-enum \
Expand Down

0 comments on commit 53fe51e

Please sign in to comment.