1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

svq3: remove a pointless if()

The H264 context is always uninitialized at this point.
This commit is contained in:
Anton Khirnov 2013-02-04 11:21:10 +01:00
parent 2491f9ee29
commit d9ebb00dcb

View File

@ -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;
}