Replace hardcoded error code with ENODATA (#3277)
Replace hardcoded error code with ENODATA (#3277)

The video reader suppressed code 61 (ENODATA on Linux) that occured at
the end of a stream and logged an INFO message. On macOS ENODATA has a
different code (96), which resulted in an error message being logged.

This small patch replaces the hard-coded value with the ENODATA constant
to suppress the macOS warning.

Co-authored-by: Vasilis Vryniotis <d748cd3f763058dcf20e5489b9bc2373b78db68c@users.noreply.github.com>
pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision