Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-05-12 21:00:49 +0300
committerPaul B Mahol <onemda@gmail.com>2017-05-13 12:39:28 +0300
commited93ed5ee320db299dc8c65d59c4f25e2eb0acdc (patch)
treed678ae86bbdda736856cf4d15af63584231f8503 /libavfilter/f_sendcmd.c
parent0fbc7a2169af479f8824f44e1b0f0ede5e1d1eaa (diff)
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 522d6adb90..1e53465042 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;