mpv/libaf
Uoti Urpala c24d4e9ec2 af_lavcac3enc: fix for lavc AC-3 encoder change to float input
The libavcodec AC-3 encoder was changed to use floats, and take
floating point samples as input (the fixed-point version is still
available under the new name "ac3_fixed"). This broke af_lavcac3enc
because it blindly assumed without checking that the "ac3" encoder
would take signed 16-bit integer samples. Improve af_lavcac3enc so
that it checks the sample formats supported by the encoder and can
handle either int16_t or float.

Perhaps an option to keep using integer input but instead switch the
encoder name to "ac3_fixed" for new libavcodec versions would have
some value. Then again, maybe not. Using the preferred data format of
the default "ac3" encoder should normally be best, so probably better
not add such an option unless real need appears.
2011-02-03 04:55:20 +02:00
..
af.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af.h libaf: Make af_reinit "public", to allow using it in future patches 2010-11-02 04:18:37 +02:00
af_bs2b.c
af_center.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_channels.c
af_comp.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_delay.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_dummy.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_equalizer.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_export.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_extrastereo.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_format.c Add support for distinguishing between little- and big-endian SPDIF AC3 2010-01-11 20:27:52 +00:00
af_format.h Add support for distinguishing between little- and big-endian SPDIF AC3 2010-01-11 20:27:52 +00:00
af_format_alaw.h
af_format_ulaw.h
af_gate.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_hrtf.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_hrtf.h
af_karaoke.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_ladspa.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_lavcac3enc.c af_lavcac3enc: fix for lavc AC-3 encoder change to float input 2011-02-03 04:55:20 +02:00
af_lavcresample.c af_lavcresample: avoid multiple calls to av_resample_init 2010-11-02 04:14:43 +02:00
af_pan.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_resample.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_resample_template.c
af_scaletempo.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
af_sinesuppress.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_stats.c
af_sub.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_surround.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_sweep.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_tools.c
af_volnorm.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
af_volume.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
control.h
dsp.h
equalizer.h
filter.c cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00
filter.h
format.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
reorder_ch.c Fix mangling of 24-bit audio during channel reorder. 2009-11-28 18:23:26 +00:00
reorder_ch.h
window.c cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00
window.h