summaryrefslogtreecommitdiffstats
path: root/libavfilter/f_sendcmd.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-05-12 20:00:49 +0200
committerPaul B Mahol <onemda@gmail.com>2017-05-13 11:39:28 +0200
commited93ed5ee320db299dc8c65d59c4f25e2eb0acdc (patch)
treed678ae86bbdda736856cf4d15af63584231f8503 /libavfilter/f_sendcmd.c
parent0fbc7a2169af479f8824f44e1b0f0ede5e1d1eaa (diff)
downloadffmpeg-streaming-ed93ed5ee320db299dc8c65d59c4f25e2eb0acdc.zip
ffmpeg-streaming-ed93ed5ee320db299dc8c65d59c4f25e2eb0acdc.tar.gz
avfilter: don't anonymously typedef structs
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/f_sendcmd.c')
-rw-r--r--libavfilter/f_sendcmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/f_sendcmd.c b/libavfilter/f_sendcmd.c
index 522d6ad..1e53465 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;
OpenPOWER on IntegriCloud