error: ensure error codes are signed negative ints.
authorNicolas George <nicolas.george@normalesup.org>
Sun, 15 Apr 2012 09:15:28 +0000 (11:15 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Sun, 15 Apr 2012 15:58:33 +0000 (17:58 +0200)
commita9e7e98021ca9f2eba260c6a6f22a9a476332b24
tree7b73cfef7d23d2c2bd7d6a1e003c05efc20efc22
parent3118e3b137323785d131e1448c6718e9f649de73
error: ensure error codes are signed negative ints.

Based on a patch by Robert Nagy <ronag89@gmail.com>.

It makes a difference when the error code is immediately cast
into a larger integer, such as an int64_t.
libavutil/error.h