Commit 9ac421e3 authored by Kostya Shishkov's avatar Kostya Shishkov

Remove redundant assign

Originally committed as revision 8531 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent bad0cefb
...@@ -52,7 +52,6 @@ static int aasc_decode_init(AVCodecContext *avctx) ...@@ -52,7 +52,6 @@ static int aasc_decode_init(AVCodecContext *avctx)
s->avctx = avctx; s->avctx = avctx;
avctx->pix_fmt = PIX_FMT_BGR24; avctx->pix_fmt = PIX_FMT_BGR24;
avctx->has_b_frames = 0;
s->frame.data[0] = NULL; s->frame.data[0] = NULL;
return 0; return 0;
......
...@@ -346,7 +346,6 @@ static int decode_init(AVCodecContext * avctx) ...@@ -346,7 +346,6 @@ static int decode_init(AVCodecContext * avctx)
int i; int i;
c->avctx = avctx; c->avctx = avctx;
avctx->has_b_frames = 0;
c->pic.data[0] = NULL; c->pic.data[0] = NULL;
......
...@@ -293,7 +293,6 @@ static int decode_init(AVCodecContext *avctx){ ...@@ -293,7 +293,6 @@ static int decode_init(AVCodecContext *avctx){
a->avctx = avctx; a->avctx = avctx;
avctx->pix_fmt= PIX_FMT_PAL8; avctx->pix_fmt= PIX_FMT_PAL8;
avctx->has_b_frames = 0;
a->pic.data[0] = NULL; a->pic.data[0] = NULL;
a->refdata = av_malloc(avctx->width * avctx->height); a->refdata = av_malloc(avctx->width * avctx->height);
......
...@@ -834,7 +834,6 @@ static int decode_init(AVCodecContext *avctx){ ...@@ -834,7 +834,6 @@ static int decode_init(AVCodecContext *avctx){
l->avctx = avctx; l->avctx = avctx;
l->pic.data[0]=NULL; l->pic.data[0]=NULL;
avctx->has_b_frames = 0;
avctx->pix_fmt = PIX_FMT_YUV420P; avctx->pix_fmt = PIX_FMT_YUV420P;
dsputil_init(&l->dsp, avctx); dsputil_init(&l->dsp, avctx);
......
...@@ -261,7 +261,6 @@ static int decode_init(AVCodecContext *avctx) ...@@ -261,7 +261,6 @@ static int decode_init(AVCodecContext *avctx)
int zret; // Zlib return code int zret; // Zlib return code
c->avctx = avctx; c->avctx = avctx;
avctx->has_b_frames = 0;
c->pic.data[0] = NULL; c->pic.data[0] = NULL;
c->height = avctx->height; c->height = avctx->height;
......
...@@ -51,7 +51,6 @@ static int ulti_decode_init(AVCodecContext *avctx) ...@@ -51,7 +51,6 @@ static int ulti_decode_init(AVCodecContext *avctx)
s->height = avctx->height; s->height = avctx->height;
s->blocks = (s->width / 8) * (s->height / 8); s->blocks = (s->width / 8) * (s->height / 8);
avctx->pix_fmt = PIX_FMT_YUV410P; avctx->pix_fmt = PIX_FMT_YUV410P;
avctx->has_b_frames = 0;
avctx->coded_frame = (AVFrame*) &s->frame; avctx->coded_frame = (AVFrame*) &s->frame;
s->ulti_codebook = ulti_codebook; s->ulti_codebook = ulti_codebook;
......
...@@ -463,7 +463,6 @@ static int decode_init(AVCodecContext *avctx) ...@@ -463,7 +463,6 @@ static int decode_init(AVCodecContext *avctx)
VmncContext * const c = (VmncContext *)avctx->priv_data; VmncContext * const c = (VmncContext *)avctx->priv_data;
c->avctx = avctx; c->avctx = avctx;
avctx->has_b_frames = 0;
c->pic.data[0] = NULL; c->pic.data[0] = NULL;
c->width = avctx->width; c->width = avctx->width;
......
...@@ -612,7 +612,6 @@ static int decode_init(AVCodecContext *avctx) ...@@ -612,7 +612,6 @@ static int decode_init(AVCodecContext *avctx)
int zret; // Zlib return code int zret; // Zlib return code
c->avctx = avctx; c->avctx = avctx;
avctx->has_b_frames = 0;
c->pic.data[0] = NULL; c->pic.data[0] = NULL;
c->width = avctx->width; c->width = avctx->width;
......
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