1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

pcmenc: set frame_size to 0.

This indicates that the actual frame size is based on the buf_size passed to
avcodec_encode_audio().
This commit is contained in:
Justin Ruggles 2012-01-10 15:17:39 -05:00
parent f01f6a8474
commit 56f22b7e16

View File

@ -33,7 +33,7 @@
static av_cold int pcm_encode_init(AVCodecContext *avctx)
{
avctx->frame_size = 1;
avctx->frame_size = 0;
switch(avctx->codec->id) {
case CODEC_ID_PCM_ALAW:
pcm_alaw_tableinit();