summaryrefslogtreecommitdiffstats
path: root/libavfilter/af_hdcd.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/af_hdcd.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/af_hdcd.c')
-rw-r--r--libavfilter/af_hdcd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
index 2800ed9..fd17646 100644
--- a/libavfilter/af_hdcd.c
+++ b/libavfilter/af_hdcd.c
@@ -837,7 +837,7 @@ static const int32_t gaintab[] = {
/** tone generator: sample_number, frequency, sample_rate, amplitude */
#define TONEGEN16(sn, f, sr, a) (int16_t)(sin((6.28318530718 * (sn) * (f)) /(sr)) * (a) * 0x7fff)
-typedef struct {
+typedef struct hdcd_state {
uint64_t window;
unsigned char readahead;
@@ -904,7 +904,7 @@ static const char * const pf_str[] = {
"?", "A", "B", "A+B"
};
-typedef struct {
+typedef struct hdcd_detection_data {
hdcd_dv hdcd_detected;
hdcd_pf packet_type;
int total_packets; /**< valid packets */
OpenPOWER on IntegriCloud