From ab318aeea84f51fa0adcfb09a8a43abc67dae1cd Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 1 Feb 2016 21:32:01 +0100 Subject: 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. --- common/common.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'common/common.h') 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; -- cgit v1.2.3