Revision 755bfeab libavformat/riff.c

View differences:

libavformat/riff.c
329 329
    }
330 330

  
331 331
    if (enc->codec_id == CODEC_ID_MP2 || enc->codec_id == CODEC_ID_MP3 || enc->codec_id == CODEC_ID_GSM_MS) {
332
        blkalign = enc->frame_size; //this is wrong, but seems many demuxers dont work if this is set correctly
332
        blkalign = enc->frame_size; //this is wrong, but it seems many demuxers do not work if this is set correctly
333 333
        //blkalign = 144 * enc->bit_rate/enc->sample_rate;
334 334
    } else if (enc->codec_id == CODEC_ID_ADPCM_G726) { //
335 335
        blkalign = 1;

Also available in: Unified diff