jpegenc: Keep variables in sane state after _reset
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Fri, 28 May 2010 13:43:36 +0000 (10:43 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.co.uk>
Fri, 28 May 2010 13:43:36 +0000 (10:43 -0300)
commite0c49a7590b1d554a5e6059edac125bf36b8f4d8
tree1e8599b66c47c519de33d2c69bb3b9ffb4a32a37
parentad9ffeed031582c33240a0ac730545dee8e4d844
jpegenc: Keep variables in sane state after _reset

When reseting, keep 'row' variables at a sane state after
freeing to avoid it being freed again on _resync realloc
when the element is reused.

Fixes #619943
ext/jpeg/gstjpegenc.c