mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-28 14:38:21 +01:00
jpegdec: correct ContextFill signature
fill_input_buffer returns a boolean Change-Id: I208a1a862fa6c57cb5b73568b84055f734c1c36f
This commit is contained in:
parent
b3fb8bb602
commit
cec7201447
@ -222,10 +222,10 @@ static void ContextInit(j_decompress_ptr cinfo) {
|
|||||||
ctx->pub.bytes_in_buffer = ctx->data_size;
|
ctx->pub.bytes_in_buffer = ctx->data_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int ContextFill(j_decompress_ptr cinfo) {
|
static boolean ContextFill(j_decompress_ptr cinfo) {
|
||||||
// we shouldn't get here.
|
// we shouldn't get here.
|
||||||
ERREXIT(cinfo, JERR_FILE_READ);
|
ERREXIT(cinfo, JERR_FILE_READ);
|
||||||
return 0;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ContextSkip(j_decompress_ptr cinfo, long jump_size) {
|
static void ContextSkip(j_decompress_ptr cinfo, long jump_size) {
|
||||||
|
Loading…
Reference in New Issue
Block a user