aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-06-22 09:10:03 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-07-03 20:18:55 +0200
commit82fa6b450d1a23baf88ef5714d9603c1855ffeab (patch)
tree648e19111ecebb17f508481254583570005bee20
parent11d3af0d7fe5c0e235b4a560c063fee4c05980e1 (diff)
downloadffmpeg-82fa6b450d1a23baf88ef5714d9603c1855ffeab.tar.gz
avcodec/dfpwmenc: Remove write-only context member
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/dfpwmenc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/dfpwmenc.c b/libavcodec/dfpwmenc.c
index 31aaa96abc..1adc4c754f 100644
--- a/libavcodec/dfpwmenc.c
+++ b/libavcodec/dfpwmenc.c
@@ -32,7 +32,7 @@
#include "internal.h"
typedef struct {
- int fq, q, s, lt;
+ int q, s, lt;
} DFPWMState;
// DFPWM codec from https://github.com/ChenThread/dfpwm/blob/master/1a/
@@ -79,7 +79,6 @@ static av_cold int dfpwm_enc_init(struct AVCodecContext *ctx)
{
DFPWMState *state = ctx->priv_data;
- state->fq = 0;
state->q = 0;
state->s = 0;
state->lt = -128;