[MPlayer-cvslog] r35335 - trunk/xvid_vbr.c
reimar
subversion at mplayerhq.hu
Thu Nov 1 23:27:27 CET 2012
Author: reimar
Date: Thu Nov 1 23:27:27 2012
New Revision: 35335
Log:
Fix typo causing memset to not properly initialize the struct.
Modified:
trunk/xvid_vbr.c
Modified: trunk/xvid_vbr.c
==============================================================================
--- trunk/xvid_vbr.c Thu Nov 1 23:23:07 2012 (r35334)
+++ trunk/xvid_vbr.c Thu Nov 1 23:27:27 2012 (r35335)
@@ -152,7 +152,7 @@ int vbrSetDefaults(vbr_control_t *state)
{
/* Set all the structure to zero */
- memset(state, 0, sizeof(state));
+ memset(state, 0, sizeof(*state));
/* Default mode is CBR */
state->mode = VBR_MODE_1PASS;
More information about the MPlayer-cvslog
mailing list