diff options
author | wm4 <wm4@nowhere> | 2016-02-01 21:32:01 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-02-01 22:03:04 +0100 |
commit | ab318aeea84f51fa0adcfb09a8a43abc67dae1cd (patch) | |
tree | 1c734ae196b8148f35cb65d30596339cadf8e575 /common | |
parent | 07d8a0e142a6f97c39abbf85acbe4adc90c360b1 (diff) | |
download | mpv-ab318aeea84f51fa0adcfb09a8a43abc67dae1cd.tar.bz2 mpv-ab318aeea84f51fa0adcfb09a8a43abc67dae1cd.tar.xz |
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.
Diffstat (limited to 'common')
-rw-r--r-- | common/common.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/common/common.h b/common/common.h index 8edfc96d23..4b7da54dbd 100644 --- a/common/common.h +++ b/common/common.h @@ -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; |