diff options
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; } |