summaryrefslogtreecommitdiff
path: root/libavfilter/vf_noise.h
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/vf_noise.h
parent0fbc7a2169af479f8824f44e1b0f0ede5e1d1eaa (diff)
avfilter: don't anonymously typedef structs
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_noise.h')
-rw-r--r--libavfilter/vf_noise.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_noise.h b/libavfilter/vf_noise.h
index 2207ed961f..92998e54c9 100644
--- a/libavfilter/vf_noise.h
+++ b/libavfilter/vf_noise.h
@@ -34,7 +34,7 @@
#define NOISE_AVERAGED 8
#define NOISE_PATTERN 16
-typedef struct {
+typedef struct FilterParams {
int strength;
unsigned flags;
AVLFG lfg;
@@ -45,7 +45,7 @@ typedef struct {
int rand_shift_init;
} FilterParams;
-typedef struct {
+typedef struct NoiseContext {
const AVClass *class;
int nb_planes;
int bytewidth[4];