aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder/lame_encoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoder/lame_encoder.c')
-rw-r--r--src/encoder/lame_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoder/lame_encoder.c b/src/encoder/lame_encoder.c
index 812ff39c5..97431a817 100644
--- a/src/encoder/lame_encoder.c
+++ b/src/encoder/lame_encoder.c
@@ -185,7 +185,7 @@ lame_encoder_open(struct encoder *_encoder, struct audio_format *audio_format,
{
struct lame_encoder *encoder = (struct lame_encoder *)_encoder;
- audio_format->bits = 16;
+ audio_format->format = SAMPLE_FORMAT_S16;
audio_format->channels = 2;
encoder->audio_format = *audio_format;