mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-21 16:10:16 +08:00
avformat/utils: move mkdir_p to utils
Because it will be used by avformat/segment.c or other module which need to automatically create sub-directories operation. Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
This commit is contained in:
@@ -211,6 +211,14 @@ do {\
|
||||
|
||||
struct tm *ff_brktimegm(time_t secs, struct tm *tm);
|
||||
|
||||
/**
|
||||
* Automatically create sub-directories
|
||||
*
|
||||
* @param path will create sub-directories by path
|
||||
* @return 0, or < 0 on error
|
||||
*/
|
||||
int ff_mkdir_p(const char *path);
|
||||
|
||||
char *ff_data_to_hex(char *buf, const uint8_t *src, int size, int lowercase);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user