mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-19 13:30:03 +01:00
Fix libxvid crash on failing initialisation.
Fixes ticket #3297.
(cherry picked from commit ee3fc8aa86)
This commit is contained in:
@@ -48,6 +48,7 @@
|
|||||||
* This stores all the private context for the codec.
|
* This stores all the private context for the codec.
|
||||||
*/
|
*/
|
||||||
struct xvid_context {
|
struct xvid_context {
|
||||||
|
AVClass *class;
|
||||||
void *encoder_handle; /**< Handle for Xvid encoder */
|
void *encoder_handle; /**< Handle for Xvid encoder */
|
||||||
int xsize; /**< Frame x size */
|
int xsize; /**< Frame x size */
|
||||||
int ysize; /**< Frame y size */
|
int ysize; /**< Frame y size */
|
||||||
|
|||||||
Reference in New Issue
Block a user