scrcpy/app
Romain Vimont 72bdfbc7a6 Never return 0 for stream protocol
On socket disconnection, on Linux, recv() returns -1 and errno is set.
But on Windows, errno is 0.

In that case, AVERROR(errno) == 0, leading to the warning:

> Invalid return value 0 for stream protocol

To avoid the problem, if errno is 0, return AVERROR_EOF.

Ref: commit 2876463d39
2019-06-11 17:44:07 +02:00
..
src Never return 0 for stream protocol 2019-06-11 17:44:07 +02:00
tests Implement device screen off while mirroring 2019-05-31 23:07:23 +02:00
meson.build Inline lock_util functions 2019-06-07 17:19:00 +02:00