1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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

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 */