From d0d8751af40485b0ec08a579672e804a33d76714 Mon Sep 17 00:00:00 2001 From: Yusuke Nakamura Date: Wed, 2 Jun 2010 17:02:31 +0900 Subject: [PATCH] Fix Avisynth input Regression in r1624. A more permanent solution to the problem will be committed later. --- input/avs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input/avs.c b/input/avs.c index 5489a5e5..9bf486bd 100644 --- a/input/avs.c +++ b/input/avs.c @@ -280,9 +280,9 @@ static int get_frame_total( hnd_t handle ) static int picture_alloc( x264_picture_t *pic, int i_csp, int i_width, int i_height ) { + memset( pic, 0, sizeof( x264_picture_t ) ); pic->img.i_csp = i_csp; pic->img.i_plane = 3; - pic->param = NULL; pic->i_pic_struct = PIC_STRUCT_AUTO; return 0; } -- 2.47.3