diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-01-17 13:09:57 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2014-01-17 14:52:55 +0100 |
commit | ee3fc8aa864f6d95356a7d9d03536e2b12b891c5 (patch) | |
tree | add7aaa7bc9f16c2b89c6dd0f8daaf10ebdb5701 | |
parent | c8b99f8ad0589bf1bf5f107f44eb4b207bf6c431 (diff) | |
download | ffmpeg-ee3fc8aa864f6d95356a7d9d03536e2b12b891c5.tar.gz |
Fix libxvid crash on failing initialisation.
Fixes ticket #3297.
-rw-r--r-- | libavcodec/libxvid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/libxvid.c b/libavcodec/libxvid.c index 40b3bffacf..97ab2d4a07 100644 --- a/libavcodec/libxvid.c +++ b/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 */ |