Fix libxvid crash on failing initialisation.

Fixes ticket #3297.
This commit is contained in:
Carl Eugen Hoyos 2014-01-17 13:09:57 +01:00
parent c8b99f8ad0
commit ee3fc8aa86
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@
* This stores all the private context for the codec.
*/
struct xvid_context {
AVClass *class;
void *encoder_handle; /**< Handle for Xvid encoder */
int xsize; /**< Frame x size */
int ysize; /**< Frame y size */