changeset 11814:22c2450cd00b libavcodec

Properly initialize x264_picture_t in libx264. Bump libx264 version requirement accordingly.
author darkshikari
date Wed, 02 Jun 2010 20:05:27 +0000
parents fda5ab5d31bb
children dfdb608a78ef
files libx264.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libx264.c	Wed Jun 02 18:49:53 2010 +0000
+++ b/libx264.c	Wed Jun 02 20:05:27 2010 +0000
@@ -89,6 +89,7 @@
     int nnal, i;
     x264_picture_t pic_out;
 
+    x264_picture_init( &x4->pic );
     x4->pic.img.i_csp   = X264_CSP_I420;
     x4->pic.img.i_plane = 3;