mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 03:39:45 +00:00
Remove redundant assign
Originally committed as revision 8531 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
bad0cefbdd
commit
9ac421e3c1
@ -52,7 +52,6 @@ static int aasc_decode_init(AVCodecContext *avctx)
|
||||
s->avctx = avctx;
|
||||
|
||||
avctx->pix_fmt = PIX_FMT_BGR24;
|
||||
avctx->has_b_frames = 0;
|
||||
s->frame.data[0] = NULL;
|
||||
|
||||
return 0;
|
||||
|
@ -346,7 +346,6 @@ static int decode_init(AVCodecContext * avctx)
|
||||
int i;
|
||||
|
||||
c->avctx = avctx;
|
||||
avctx->has_b_frames = 0;
|
||||
|
||||
c->pic.data[0] = NULL;
|
||||
|
||||
|
@ -293,7 +293,6 @@ static int decode_init(AVCodecContext *avctx){
|
||||
|
||||
a->avctx = avctx;
|
||||
avctx->pix_fmt= PIX_FMT_PAL8;
|
||||
avctx->has_b_frames = 0;
|
||||
a->pic.data[0] = NULL;
|
||||
a->refdata = av_malloc(avctx->width * avctx->height);
|
||||
|
||||
|
@ -834,7 +834,6 @@ static int decode_init(AVCodecContext *avctx){
|
||||
|
||||
l->avctx = avctx;
|
||||
l->pic.data[0]=NULL;
|
||||
avctx->has_b_frames = 0;
|
||||
avctx->pix_fmt = PIX_FMT_YUV420P;
|
||||
|
||||
dsputil_init(&l->dsp, avctx);
|
||||
|
@ -261,7 +261,6 @@ static int decode_init(AVCodecContext *avctx)
|
||||
int zret; // Zlib return code
|
||||
|
||||
c->avctx = avctx;
|
||||
avctx->has_b_frames = 0;
|
||||
|
||||
c->pic.data[0] = NULL;
|
||||
c->height = avctx->height;
|
||||
|
@ -51,7 +51,6 @@ static int ulti_decode_init(AVCodecContext *avctx)
|
||||
s->height = avctx->height;
|
||||
s->blocks = (s->width / 8) * (s->height / 8);
|
||||
avctx->pix_fmt = PIX_FMT_YUV410P;
|
||||
avctx->has_b_frames = 0;
|
||||
avctx->coded_frame = (AVFrame*) &s->frame;
|
||||
s->ulti_codebook = ulti_codebook;
|
||||
|
||||
|
@ -463,7 +463,6 @@ static int decode_init(AVCodecContext *avctx)
|
||||
VmncContext * const c = (VmncContext *)avctx->priv_data;
|
||||
|
||||
c->avctx = avctx;
|
||||
avctx->has_b_frames = 0;
|
||||
|
||||
c->pic.data[0] = NULL;
|
||||
c->width = avctx->width;
|
||||
|
@ -612,7 +612,6 @@ static int decode_init(AVCodecContext *avctx)
|
||||
int zret; // Zlib return code
|
||||
|
||||
c->avctx = avctx;
|
||||
avctx->has_b_frames = 0;
|
||||
|
||||
c->pic.data[0] = NULL;
|
||||
c->width = avctx->width;
|
||||
|
Loading…
Reference in New Issue
Block a user