[MPlayer-cvslog] r32614 - trunk/libmpcodecs/ve_x264.c

lorenm subversion at mplayerhq.hu
Wed Nov 10 09:32:54 CET 2010


Author: lorenm
Date: Wed Nov 10 09:32:54 2010
New Revision: 32614

Log:
use x264_picture_init.
this currently has no effect, but it always should have been done this way, and it will be required for some future x264 version.

Modified:
   trunk/libmpcodecs/ve_x264.c

Modified: trunk/libmpcodecs/ve_x264.c
==============================================================================
--- trunk/libmpcodecs/ve_x264.c	Wed Nov 10 01:10:49 2010	(r32613)
+++ trunk/libmpcodecs/ve_x264.c	Wed Nov 10 09:32:54 2010	(r32614)
@@ -236,7 +236,7 @@ static int put_image(struct vf_instance 
     h264_module_t *mod=(h264_module_t*)vf->priv;
     int i;
 
-    memset(&mod->pic, 0, sizeof(x264_picture_t));
+    x264_picture_init(&mod->pic);
     mod->pic.img.i_csp=param.i_csp;
     mod->pic.img.i_plane=3;
     for(i=0; i<4; i++) {


More information about the MPlayer-cvslog mailing list