[FFmpeg-cvslog] avcodec/dfpwmenc: Remove write-only context member
Andreas Rheinhardt
git at videolan.org
Thu Jul 3 21:32:35 EEST 2025
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Jun 22 09:10:03 2025 +0200| [82fa6b450d1a23baf88ef5714d9603c1855ffeab] | committer: Andreas Rheinhardt
avcodec/dfpwmenc: Remove write-only context member
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=82fa6b450d1a23baf88ef5714d9603c1855ffeab
---
libavcodec/dfpwmenc.c | 3 +--
1 file changed, 1 insertion(+), 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;
More information about the ffmpeg-cvslog
mailing list