Fix libxvid crash on failing initialisation.

Fixes ticket #3297.
pull/54/head
Carl Eugen Hoyos 11 years ago
parent c8b99f8ad0
commit ee3fc8aa86
  1. 1
      libavcodec/libxvid.c

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

Loading…
Cancel
Save