mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avformat/utils: fix logic error in ff_mkdir_p
Fix ticket# 9605 Signed-off-by: Peter Ross <pross@xvid.org>
This commit is contained in:
parent
2db9ffb88b
commit
6474300dc4
@ -1136,7 +1136,7 @@ int ff_mkdir_p(const char *path)
|
||||
}
|
||||
}
|
||||
|
||||
if ((*(pos - 1) != '/') || (*(pos - 1) != '\\')) {
|
||||
if ((*(pos - 1) != '/') && (*(pos - 1) != '\\')) {
|
||||
ret = mkdir(temp, 0755);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user