Commit d9ebb00d authored by Anton Khirnov's avatar Anton Khirnov

svq3: remove a pointless if()

The H264 context is always uninitialized at this point.
parent 2491f9ee
......@@ -856,7 +856,6 @@ static av_cold int svq3_decode_init(AVCodecContext *avctx)
h->is_complex = 1;
avctx->pix_fmt = avctx->codec->pix_fmts[0];
if (!s->context_initialized) {
h->chroma_qp[0] = h->chroma_qp[1] = 4;
svq3->halfpel_flag = 1;
......@@ -997,7 +996,6 @@ static av_cold int svq3_decode_init(AVCodecContext *avctx)
av_log(avctx, AV_LOG_ERROR, "svq3 memory allocation failed\n");
return AVERROR(ENOMEM);
}
}
return 0;
}
......
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