diff options
author | phintuka <phintuka> | 2008-09-26 13:33:28 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-09-26 13:33:28 +0000 |
commit | d8b6ac472bcf7c2196b86c8c255d497b28eb3793 (patch) | |
tree | 0f8f622dd8145201857526bcd0c0e321461ca000 /xine_post_autocrop.c | |
parent | 62ae2b1319edeb9e1d8aca102f6ab8ed2015cd5a (diff) | |
download | xineliboutput-unlabeled-1.12.2.tar.gz xineliboutput-unlabeled-1.12.2.tar.bz2 |
1.0.2: Backported bugfixes from CVS trunkunlabeled-1.12.2
- xine-lib 1.2 updates
Diffstat (limited to 'xine_post_autocrop.c')
-rw-r--r-- | xine_post_autocrop.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/xine_post_autocrop.c b/xine_post_autocrop.c index 26edcaf6..57e120c2 100644 --- a/xine_post_autocrop.c +++ b/xine_post_autocrop.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_post_autocrop.c,v 1.12 2008-01-02 01:55:19 phintuka Exp $ + * $Id: xine_post_autocrop.c,v 1.12.2.1 2008-09-26 13:33:28 phintuka Exp $ * */ @@ -27,7 +27,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_post_autocrop.c,v 1.12 2008-01-02 01:55:19 phintuka Exp $ * * autocrop video filter by Petri Hintukainen 25/03/2006 * @@ -1512,7 +1511,7 @@ static post_plugin_t *autocrop_open_plugin(post_class_t *class_gen, xine_video_port_t **video_target) { if (video_target && video_target[ 0 ]) { - autocrop_post_plugin_t *this = (autocrop_post_plugin_t*)xine_xmalloc(sizeof(autocrop_post_plugin_t)); + autocrop_post_plugin_t *this = calloc(1, sizeof(autocrop_post_plugin_t)); post_in_t *input; post_out_t *output; post_video_port_t *port; @@ -1594,7 +1593,7 @@ static void autocrop_class_dispose(post_class_t *class_gen) static void *autocrop_init_plugin(xine_t *xine, void *data) { - post_class_t *class = (post_class_t*)malloc(sizeof(post_class_t)); + post_class_t *class = calloc(1, sizeof(post_class_t)); if(class) { class->open_plugin = autocrop_open_plugin; |