Revision 187a5379 libavcodec/vorbis_enc.c

View differences:

libavcodec/vorbis_enc.c
394 394
    mant = (int)ldexp(frexp(f, &exp), 20);
395 395
    exp += 788 - 20;
396 396
    if (mant < 0) {
397
        res |= (1 << 31);
397
        res |= (1U << 31);
398 398
        mant = -mant;
399 399
    }
400 400
    res |= mant | (exp << 21);

Also available in: Unified diff