[FFmpeg-cvslog] cin audio: remove unneeded AVCodecContext pointer from CinAudioContext

Justin Ruggles git at videolan.org
Sun Oct 30 02:04:18 CEST 2011


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Thu Oct 27 13:28:33 2011 -0400| [664eb77dc3cb63dcb82d27d62540058a78bdab48] | committer: Justin Ruggles

cin audio: remove unneeded AVCodecContext pointer from CinAudioContext

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=664eb77dc3cb63dcb82d27d62540058a78bdab48
---

 libavcodec/dsicinav.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/libavcodec/dsicinav.c b/libavcodec/dsicinav.c
index 3b545e7..953d232 100644
--- a/libavcodec/dsicinav.c
+++ b/libavcodec/dsicinav.c
@@ -43,7 +43,6 @@ typedef struct CinVideoContext {
 } CinVideoContext;
 
 typedef struct CinAudioContext {
-    AVCodecContext *avctx;
     int initial_decode_frame;
     int delta;
 } CinAudioContext;
@@ -308,7 +307,6 @@ static av_cold int cinaudio_decode_init(AVCodecContext *avctx)
 {
     CinAudioContext *cin = avctx->priv_data;
 
-    cin->avctx = avctx;
     cin->initial_decode_frame = 1;
     cin->delta = 0;
     avctx->sample_fmt = AV_SAMPLE_FMT_S16;



More information about the ffmpeg-cvslog mailing list