X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Faf_hdcd.c;h=fd17646f09cb463b53730a7e39b87bbc3b6c664b;hb=2508e606fba86f2e460eebb045e29e1f069a4d72;hp=2800ed9d80857b8d929f2d6183e78bd9a45effdd;hpb=dfbfbbfa48ca0aa34a1ee63de38d6e6b6647bfc9;p=ffmpeg diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c index 2800ed9d808..fd17646f09c 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 */