]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/intrax8.h
avcodec/tak_parser: fix parsing of streams with bunch of small frames at end
[ffmpeg] / libavcodec / intrax8.h
index 4d99c8d84a07ec25d1d2f0efb79cbb14b68629cf..c2e45017f22a2e67075f23910af81b7d3a93615a 100644 (file)
@@ -64,8 +64,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.