summaryrefslogtreecommitdiffstats
path: root/libhb/common.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-06-29 16:05:38 +0000
committerjstebbins <[email protected]>2015-06-29 16:05:38 +0000
commit10f6690cfa1ebbd5a837e03f70d011b51ea7690a (patch)
tree7cbd3196b1367cade621ae14fe932778bc4d86bd /libhb/common.h
parentaf9de404779378e28af413d18291975dedd68861 (diff)
libhb: detect read errors and propagate
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7332 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/common.h')
-rw-r--r--libhb/common.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/libhb/common.h b/libhb/common.h
index d088ad8fd..d1fe73335 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -108,11 +108,12 @@ typedef struct hb_fifo_s hb_fifo_t;
typedef struct hb_lock_s hb_lock_t;
typedef enum
{
- HB_ERROR_NONE = 0,
- HB_ERROR_CANCELED ,
- HB_ERROR_WRONG_INPUT,
- HB_ERROR_INIT ,
- HB_ERROR_UNKNOWN
+ HB_ERROR_NONE = 0,
+ HB_ERROR_CANCELED = 1,
+ HB_ERROR_WRONG_INPUT = 2,
+ HB_ERROR_INIT = 3,
+ HB_ERROR_UNKNOWN = 4,
+ HB_ERROR_READ = 5
} hb_error_code;
#include "ports.h"