avformat/argo_asf: cosmetics

Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
This commit is contained in:
Zane van Iperen
2020-09-20 17:53:27 +10:00
parent 101ac40f69
commit 39801adc19

View File

@@ -348,7 +348,7 @@ static int argo_asf_write_header(AVFormatContext *s)
const char *end = strrchr(start, '.');
size_t len;
if(end)
if (end)
len = end - start;
else
len = strlen(start);