summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2008-07-06 23:41:16 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2008-07-06 23:41:16 +0100
commit606022ce80723be1c8660c52ab4953ba44cc239b (patch)
tree9a5feb3a4461c81e29ccf89c2063d84a30e0228c /src
parentb627f62de4dbc6c3b56126bf26be0de7ad4f65d3 (diff)
downloadxine-lib-606022ce80723be1c8660c52ab4953ba44cc239b.tar.gz
xine-lib-606022ce80723be1c8660c52ab4953ba44cc239b.tar.bz2
Fix a stupid bug in post-plugin initialisation.
Diffstat (limited to 'src')
-rw-r--r--src/xine-engine/post.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xine-engine/post.c b/src/xine-engine/post.c
index af791c1f7..aa182d627 100644
--- a/src/xine-engine/post.c
+++ b/src/xine-engine/post.c
@@ -33,7 +33,7 @@ void _x_post_init(post_plugin_t *post, int num_audio_inputs, int num_video_input
post->input = xine_list_new();
post->output = xine_list_new();
post->xine_post.audio_input = calloc(num_audio_inputs + 1, sizeof(xine_audio_port_t *));
- post->xine_post.audio_input = calloc(num_video_inputs + 1, sizeof(xine_video_port_t *));
+ post->xine_post.video_input = calloc(num_video_inputs + 1, sizeof(xine_video_port_t *));
}