mjpeg: remember to set dinfo.err.
This commit is contained in:
parent
ffc2f9b68a
commit
fce4b94bb2
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ void mjpeg_init(struct mjpeg_decoder *mj)
|
||||||
memset(mj, 0, sizeof(*mj));
|
memset(mj, 0, sizeof(*mj));
|
||||||
|
|
||||||
/* Set up error management */
|
/* Set up error management */
|
||||||
jpeg_std_error(&mj->err);
|
mj->dinfo.err = jpeg_std_error(&mj->err);
|
||||||
mj->err.error_exit = my_error_exit;
|
mj->err.error_exit = my_error_exit;
|
||||||
mj->err.output_message = my_output_message;
|
mj->err.output_message = my_output_message;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue