* Mea culpa: it seems that I broke encoding to 8-bit pcm files. This fixes it.

Originally committed as revision 493 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Philip Gladstone 2002-05-14 02:36:23 +00:00
parent 0b97443a3f
commit 13a0314fba

View File

@ -238,7 +238,7 @@ static int encode_frame(AVCodecContext *avctx,
return -1;
}
avctx->key_frame = 1;
avctx->frame_size = (dst - frame) / (sample_size * avctx->channels);
//avctx->frame_size = (dst - frame) / (sample_size * avctx->channels);
return dst - frame;
}