Commit 664eb77d authored by Justin Ruggles's avatar Justin Ruggles

cin audio: remove unneeded AVCodecContext pointer from CinAudioContext

parent 44d2a982
...@@ -43,7 +43,6 @@ typedef struct CinVideoContext { ...@@ -43,7 +43,6 @@ typedef struct CinVideoContext {
} CinVideoContext; } CinVideoContext;
typedef struct CinAudioContext { typedef struct CinAudioContext {
AVCodecContext *avctx;
int initial_decode_frame; int initial_decode_frame;
int delta; int delta;
} CinAudioContext; } CinAudioContext;
...@@ -308,7 +307,6 @@ static av_cold int cinaudio_decode_init(AVCodecContext *avctx) ...@@ -308,7 +307,6 @@ static av_cold int cinaudio_decode_init(AVCodecContext *avctx)
{ {
CinAudioContext *cin = avctx->priv_data; CinAudioContext *cin = avctx->priv_data;
cin->avctx = avctx;
cin->initial_decode_frame = 1; cin->initial_decode_frame = 1;
cin->delta = 0; cin->delta = 0;
avctx->sample_fmt = AV_SAMPLE_FMT_S16; avctx->sample_fmt = AV_SAMPLE_FMT_S16;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment