mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-02-04 06:08:26 +02:00
deshake: simplify filename check.
This commit is contained in:
parent
e39be59b85
commit
073effb6e4
@ -356,7 +356,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
|
||||
deshake->contrast = av_clip(deshake->contrast, 1, 255);
|
||||
deshake->search = av_clip(deshake->search, EXHAUSTIVE, SEARCH_COUNT - 1);
|
||||
}
|
||||
if (strlen(filename))
|
||||
if (*filename)
|
||||
deshake->fp = fopen(filename, "w");
|
||||
if (deshake->fp)
|
||||
fwrite("Ori x, Avg x, Fin x, Ori y, Avg y, Fin y, Ori angle, Avg angle, Fin angle, Ori zoom, Avg zoom, Fin zoom\n", sizeof(char), 104, deshake->fp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user