1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avcodec/dfpwmenc: Remove write-only context member

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-06-22 09:10:03 +02:00
parent 11d3af0d7f
commit 82fa6b450d

View File

@ -32,7 +32,7 @@
#include "internal.h" #include "internal.h"
typedef struct { typedef struct {
int fq, q, s, lt; int q, s, lt;
} DFPWMState; } DFPWMState;
// DFPWM codec from https://github.com/ChenThread/dfpwm/blob/master/1a/ // 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; DFPWMState *state = ctx->priv_data;
state->fq = 0;
state->q = 0; state->q = 0;
state->s = 0; state->s = 0;
state->lt = -128; state->lt = -128;