Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2014-01-17 16:09:57 +0400
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-01-17 17:52:55 +0400
commitee3fc8aa864f6d95356a7d9d03536e2b12b891c5 (patch)
treeadd7aaa7bc9f16c2b89c6dd0f8daaf10ebdb5701 /libavcodec/libxvid.c
parentc8b99f8ad0589bf1bf5f107f44eb4b207bf6c431 (diff)
Fix libxvid crash on failing initialisation.
Fixes ticket #3297.
Diffstat (limited to 'libavcodec/libxvid.c')
-rw-r--r--libavcodec/libxvid.c1
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 */