You've already forked FFmpeg
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:
@ -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;
|
||||||
|
Reference in New Issue
Block a user