aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice/alsa-audio-common.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-05-24 15:44:31 +0200
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-07-30 18:53:15 +0200
commit18189ebab3cfb2f2fe8ff53a404557bc5f7a12c6 (patch)
treee023d15ea15bda6ac31cce6f9bae7b8671927190 /libavdevice/alsa-audio-common.c
parent74a88a509c6e60bec20cb74291b69b9d5dff0a0d (diff)
downloadffmpeg-18189ebab3cfb2f2fe8ff53a404557bc5f7a12c6.tar.gz
libshine: fix support for shine 3.0
shine_encode_buffer expects written to be an int pointer, while the previous shine_encode_frame expected it to be a long pointer. Thus encoding with libshine currently always fails with "internal buffer too small", because a negative return value of shine_encode_buffer is interpreted as a very large long value. Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit e48a9ac9af5f6e652735aa44a86420b5e7258895) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavdevice/alsa-audio-common.c')
0 files changed, 0 insertions, 0 deletions