[FFmpeg-cvslog] Fix libxvid crash on failing initialisation.
Carl Eugen Hoyos
git at videolan.org
Sun Jan 19 15:00:32 CET 2014
ffmpeg | branch: release/2.1 | Carl Eugen Hoyos <cehoyos at ag.or.at> | Fri Jan 17 13:09:57 2014 +0100| [f4e051680ec3af0d06234a3fd197b452499f9227] | committer: Carl Eugen Hoyos
Fix libxvid crash on failing initialisation.
Fixes ticket #3297.
(cherry picked from commit ee3fc8aa864f6d95356a7d9d03536e2b12b891c5)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f4e051680ec3af0d06234a3fd197b452499f9227
---
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