summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/ae_lame.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs/ae_lame.c')
-rw-r--r--libmpcodecs/ae_lame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpcodecs/ae_lame.c b/libmpcodecs/ae_lame.c
index 433fdc1fd0..80242dd351 100644
--- a/libmpcodecs/ae_lame.c
+++ b/libmpcodecs/ae_lame.c
@@ -122,7 +122,7 @@ static int encode_lame(audio_encoder_t *encoder, uint8_t *dest, void *src, int l
else
n = lame_encode_buffer_interleaved(lame,(short *)src, len/4, dest, max_size);
- return (n < 0 ? 0 : n);
+ return n < 0 ? 0 : n;
}