summaryrefslogtreecommitdiff
path: root/libavcodec/intrax8.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/intrax8.h')
-rw-r--r--libavcodec/intrax8.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/intrax8.h b/libavcodec/intrax8.h
index 3339bc6cfd..f69f03e6ee 100644
--- a/libavcodec/intrax8.h
+++ b/libavcodec/intrax8.h
@@ -61,8 +61,9 @@ typedef struct IntraX8Context {
* Requires valid MpegEncContext with valid s->mb_width before calling.
* @param w pointer to IntraX8Context
* @param s pointer to MpegEncContext of the parent codec
+ * @return 0 on success, a negative AVERROR value on error
*/
-void ff_intrax8_common_init(IntraX8Context *w, MpegEncContext *const s);
+int ff_intrax8_common_init(IntraX8Context *w, MpegEncContext *const s);
/**
* Destroy IntraX8 frame structure.