diff options
author | Petri Hintukainen <phintuka@users.sourceforge.net> | 2011-10-10 12:41:10 +0300 |
---|---|---|
committer | Petri Hintukainen <phintuka@users.sourceforge.net> | 2011-10-10 12:41:10 +0300 |
commit | 9f105cfe9059df4a9a1f5278679151a5d9c387f6 (patch) | |
tree | 8cb7a3700bd94fbb54e51d32dc353355f3f27b09 /src/post | |
parent | 83049ca9ad0d39a5795b586b76f954748a3de316 (diff) | |
download | xine-lib-9f105cfe9059df4a9a1f5278679151a5d9c387f6.tar.gz xine-lib-9f105cfe9059df4a9a1f5278679151a5d9c387f6.tar.bz2 |
Fixed asprintf usage
Diffstat (limited to 'src/post')
-rw-r--r-- | src/post/mosaico/mosaico.c | 2 | ||||
-rw-r--r-- | src/post/planar/pp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/post/mosaico/mosaico.c b/src/post/mosaico/mosaico.c index ec46e1ca0..9a9a9911c 100644 --- a/src/post/mosaico/mosaico.c +++ b/src/post/mosaico/mosaico.c @@ -182,7 +182,7 @@ static post_plugin_t *mosaico_open_plugin(post_class_t *class_gen, int inputs, this->pip[i].y = 50; this->pip[i].w = 150; this->pip[i].h = 150; - asprintf(&(this->pip[i].input_name), "video in %d", i+1); + this->pip[i].input_name = _x_asprintf("video in %d", i+1); port = _x_post_intercept_video_port(&this->post, video_target[0], &input, NULL); port->new_port.close = mosaico_close; diff --git a/src/post/planar/pp.c b/src/post/planar/pp.c index 6b805e20b..3753c2ce2 100644 --- a/src/post/planar/pp.c +++ b/src/post/planar/pp.c @@ -132,7 +132,7 @@ static char * get_help (void) { static char *help = NULL; if( !help ) - asprintf(&help, "%s%s%s", help1, help2, pp_help); + help = _x_asprintf("%s%s%s", help1, help2, pp_help); return help; } |