mjpeg: fix missing dereference operator.
This commit is contained in:
parent
3a3df0d1d6
commit
2cb90d5dd4
1 changed files with 1 additions and 1 deletions
|
@ -175,7 +175,7 @@ static void setup_table(struct jpeg_decompress_struct *jpeg,
|
|||
|
||||
void mjpeg_init(struct mjpeg_decoder *mj)
|
||||
{
|
||||
memset(mj, 0, sizeof(mj));
|
||||
memset(mj, 0, sizeof(*mj));
|
||||
|
||||
/* Set up error management */
|
||||
jpeg_std_error(&mj->err);
|
||||
|
|
Loading…
Reference in a new issue