Revision ff29712a

View differences:

ffmpeg.c
301 301
{
302 302
    UINT8 *buftmp;
303 303
    UINT8 audio_buf[2*MAX_AUDIO_PACKET_SIZE]; /* XXX: allocate it */
304
    UINT8 audio_out[MAX_AUDIO_PACKET_SIZE]; /* XXX: allocate it */
304
    UINT8 audio_out[4*MAX_AUDIO_PACKET_SIZE]; /* XXX: allocate it - yep really WMA */
305 305
    int size_out, frame_bytes, ret;
306 306
    AVCodecContext *enc;
307 307

  
......
346 346
            break;
347 347
        }
348 348
        ret = avcodec_encode_audio(enc, audio_out, size_out, 
349
                                   (short *)buftmp);
349
				   (short *)buftmp);
350 350
        av_write_frame(s, ost->index, audio_out, ret);
351 351
    }
352 352
}

Also available in: Unified diff