1) Document that $n (frame count) is no longer subsituted for. The author of
the program hard coded 0 for the value of '$n'.
2) DO NOT USE size_t if '-1' is going to be used as a sentinel! Something like
'if (jpegsize < 0) ...' does not work if jpegsize is size_t. Use ssize_t
instead!