X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Ff_sendcmd.c;h=1e53465042827cace5ab7bba882d99eefd41badd;hb=b7b02aebec77d52398165ddd9646406430212f45;hp=522d6adb907a2bf6d67aa9c9dcf6220fb95ee697;hpb=41b394bc612b0b96a8f015ac716ded6ef0ca9e0f;p=ffmpeg diff --git a/libavfilter/f_sendcmd.c b/libavfilter/f_sendcmd.c index 522d6adb907..1e534650428 100644 --- a/libavfilter/f_sendcmd.c +++ b/libavfilter/f_sendcmd.c @@ -55,13 +55,13 @@ static inline char *make_command_flags_str(AVBPrint *pbuf, int flags) return pbuf->str; } -typedef struct { +typedef struct Command { int flags; char *target, *command, *arg; int index; } Command; -typedef struct { +typedef struct Interval { int64_t start_ts; ///< start timestamp expressed as microseconds units int64_t end_ts; ///< end timestamp expressed as microseconds units int index; ///< unique index for these interval commands @@ -70,7 +70,7 @@ typedef struct { int enabled; ///< current time detected inside this interval } Interval; -typedef struct { +typedef struct SendCmdContext { const AVClass *class; Interval *intervals; int nb_intervals;