Revision 5798368b libav/avienc.c

View differences:

libav/avienc.c
127 127
        *au_ssize = 1;
128 128
        *au_scale = 1;
129 129
        *au_byterate = stream->bit_rate / 8;
130
    case CODEC_ID_MP3LAME:
131
        *au_ssize = 1;
132
        *au_scale = 1;
133
        *au_byterate = stream->bit_rate / 8;    
130 134
    default:
131 135
        *au_ssize = 1;
132 136
        *au_scale = 1; 
......
361 365
                    if (nb_frames < stream->frame_number)
362 366
                        nb_frames = stream->frame_number;
363 367
                } else {
364
                    if (stream->codec_id == CODEC_ID_MP2) {
368
                    if (stream->codec_id == CODEC_ID_MP2 || stream->codec_id == CODEC_ID_MP3LAME) {
365 369
                        put_le32(pb, stream->frame_number);
366 370
                        nb_frames += stream->frame_number;
367 371
                    } else {

Also available in: Unified diff