mjpeg: fix missing dereference operator.

This commit is contained in:
Daniel Beer 2015-12-08 17:34:57 +13:00
parent 3a3df0d1d6
commit 2cb90d5dd4

View file

@ -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);