audio/video: merge decoder return values

Will be helpful for the coming filter support. I planned on merging
audio/video decoding, but this will have to wait a bit longer, so only
remove the duplicate status codes.
This commit is contained in:
wm4
2016-02-01 21:32:01 +01:00
parent 07d8a0e142
commit ab318aeea8
7 changed files with 43 additions and 46 deletions

View File

@@ -57,6 +57,13 @@ enum stream_type {
STREAM_TYPE_COUNT,
};
enum {
DATA_OK = 1,
DATA_WAIT = 0,
DATA_AGAIN = -1,
DATA_EOF = -2,
};
extern const char *const mpv_version;
extern const char *const mpv_builddate;