[FFmpeg-cvslog] vcr1: drop pointless write-only AVCodecContext member from VCR1Context
Diego Biurrun
git at videolan.org
Thu May 10 23:33:14 CEST 2012
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Apr 12 18:52:16 2012 +0200| [eeeefd500124a1ec3a7ca75d9c071c5517c3d153] | committer: Diego Biurrun
vcr1: drop pointless write-only AVCodecContext member from VCR1Context
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eeeefd500124a1ec3a7ca75d9c071c5517c3d153
---
libavcodec/vcr1.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/libavcodec/vcr1.c b/libavcodec/vcr1.c
index a745e58..e3e45cc 100644
--- a/libavcodec/vcr1.c
+++ b/libavcodec/vcr1.c
@@ -28,7 +28,6 @@
#include "dsputil.h"
typedef struct VCR1Context {
- AVCodecContext *avctx;
AVFrame picture;
int delta[16];
int offset[4];
@@ -39,7 +38,6 @@ static av_cold void common_init(AVCodecContext *avctx)
VCR1Context *const a = avctx->priv_data;
avctx->coded_frame = &a->picture;
- a->avctx = avctx;
}
static av_cold int decode_init(AVCodecContext *avctx)
More information about the ffmpeg-cvslog
mailing list