diff --git a/libavcodec/vorbis_enc.c b/libavcodec/vorbis_enc.c index edcdfdfe54c4d83baba0d8bf1df104d79c99ee2c..7d7571bf1459189deaa0d20b64e97228fed1e048 100644 --- a/libavcodec/vorbis_enc.c +++ b/libavcodec/vorbis_enc.c @@ -936,8 +936,6 @@ static void residue_encode(venc_context_t * venc, residue_t * rc, PutBitContext int classes[channels][partitions]; int classwords = venc->codebooks[rc->classbook].ndimentions; - if (rc->type == 2) channels = 1; - assert(rc->type == 2); assert(real_ch == 2); for (p = 0; p < partitions; p++) {