[FFmpeg-cvslog] Fix libxvid crash on failing initialisation.
Carl Eugen Hoyos
git at videolan.org
Fri Jan 17 17:09:53 CET 2014
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Fri Jan 17 13:09:57 2014 +0100| [ee3fc8aa864f6d95356a7d9d03536e2b12b891c5] | committer: Carl Eugen Hoyos
Fix libxvid crash on failing initialisation.
Fixes ticket #3297.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ee3fc8aa864f6d95356a7d9d03536e2b12b891c5
---
libavcodec/libxvid.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/libxvid.c b/libavcodec/libxvid.c
index 40b3bff..97ab2d4 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 */
More information about the ffmpeg-cvslog
mailing list