The str variable is a char ** here.
Signed-off-by: Martin Storsjö <martin@martin.st>
(cherry picked from commit 6448f15af02f2c3cf0df8cb8237957e426041f2d)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
... | ... |
@@ -2041,7 +2041,7 @@ static int mxf_timestamp_to_str(uint64_t timestamp, char **str) |
2041 | 2041 |
if (!*str) |
2042 | 2042 |
return AVERROR(ENOMEM); |
2043 | 2043 |
if (!strftime(*str, 32, "%Y-%m-%d %H:%M:%S", &time)) |
2044 |
- str[0] = '\0'; |
|
2044 |
+ (*str)[0] = '\0'; |
|
2045 | 2045 |
|
2046 | 2046 |
return 0; |
2047 | 2047 |
} |