Improve message functions to support message formating in printf style.
This commit is contained in:
@ -17,6 +17,7 @@
|
||||
#include "libburn/libburn.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
|
||||
static
|
||||
int ecma119_image_new(IsoImage *src, Ecma119WriteOpts *opts,
|
||||
@ -31,6 +32,11 @@ int ecma119_image_new(IsoImage *src, Ecma119WriteOpts *opts,
|
||||
return ISO_MEM_ERROR;
|
||||
}
|
||||
|
||||
target->image = src;
|
||||
target->iso_level = opts->level;
|
||||
|
||||
target->now = time(NULL);
|
||||
|
||||
ret = ecma119_tree_create(target, src->root);
|
||||
if (ret < 0) {
|
||||
// TODO free image data
|
||||
|
Reference in New Issue
Block a user