Skip to content

Commit dacdfe4

Browse files
committed
Merge commit 'e46aedea0a0d17da4c4ef49d84b94a7994664ab5'
2 parents 18d6fcd + e46aede commit dacdfe4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+565
-248
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ Makefile.in
3838
/libtool
3939
/ltmain.sh
4040
/missing
41-
/m4
4241
/test-driver
4342

4443
# Meson

Changelog

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
libass (0.17.3)
2+
* Fix 0.17.2 regression in the fontconfig fontprovider
3+
leading to undesirable widths being chosen from large typographic families
4+
* Fix configure generated with slibtool-provided autoconf macros
5+
* Fix "make check" for shared-only builds
6+
* Constify some API parameters in a backwards-compatible manner
7+
* Add new ass_malloc and ass_free API functions
8+
* Tweak default optimization flags
9+
* Speed up parsing of events with very long override blocks
10+
* Improve handling of HarfBuzz-related failures
11+
112
libass (0.17.2)
213
* Fix rendering of \h in certain cases
314
* Fix a minor memory leak in the CoreText and DirectWrite font provider

Makefile.am

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
ACLOCAL_AMFLAGS = -I m4
22
AM_CPPFLAGS = -I$(top_srcdir)/libass
3-
AM_CFLAGS = -std=gnu99 -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter \
4-
-Werror-implicit-function-declaration -Wstrict-prototypes \
5-
-Wpointer-arith -Wredundant-decls -Wno-missing-field-initializers\
6-
-D_GNU_SOURCE
3+
AM_CFLAGS = -std=gnu99 -D_GNU_SOURCE
74

85
EXTRA_DIST = libass.pc.in Changelog MAINTAINERS RELEASEVERSION ltnasm.sh
96

@@ -20,6 +17,7 @@ nasm_verbose_ = $(nasm_verbose_$(AM_DEFAULT_VERBOSITY))
2017
nasm_verbose_0 = @echo " NASM " $@;
2118

2219
lib_LTLIBRARIES =
20+
noinst_LTLIBRARIES =
2321
noinst_PROGRAMS =
2422
check_PROGRAMS =
2523
TESTS =

Makefile_util.am

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,11 @@ checkasm_checkasm_SOURCES = \
5454
checkasm/blend_bitmaps.c \
5555
checkasm/be_blur.c \
5656
checkasm/blur.c \
57-
checkasm/checkasm.h checkasm/checkasm.c
57+
checkasm/checkasm.h checkasm/checkasm.c \
58+
libass/ass_rasterizer.h libass/ass_utils.h
5859

5960
checkasm_checkasm_CPPFLAGS = -I$(top_srcdir)/libass
60-
checkasm_checkasm_LDADD = libass/libass.la
61+
checkasm_checkasm_LDADD = libass/libass_internal.la
6162
checkasm_checkasm_LDFLAGS = $(AM_LDFLAGS) -static
6263

6364
if X86

README.md

Lines changed: 4 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ libass is a portable subtitle renderer for the ASS/SSA (Advanced Substation Alph
88

99
Get it
1010
======
11-
See [GitHub releases](https://github.com/libass/libass/releases) for the latest release 0.17.2 (released 2024-05-19).
11+
See [GitHub releases](https://github.com/libass/libass/releases) for the latest release 0.17.3 (released 2024-07-02).
1212
See the [changelog](https://github.com/libass/libass/blob/master/Changelog) for a detailed list of changes.
1313

1414
Source code is available from our [GitHub repository](https://github.com/libass/libass).
@@ -34,28 +34,6 @@ Windows. It is suited for static-only builds on any platform well supported by
3434
Meson and as a Meson subproject.
3535
Notably, Meson supports MSVC and generation of VS project files.
3636

37-
Related Links
38-
=============
39-
The following projects/companies use libass:
40-
41-
- [MPlayer](http://www.mplayerhq.hu/)
42-
- [mplayer2](http://www.mplayer2.org/)
43-
- [mpv](http://mpv.io/)
44-
- [VLC](http://www.videolan.org/)
45-
- [GStreamer](http://gstreamer.freedesktop.org/) (assrender plugin)
46-
- [FFmpeg](http://ffmpeg.org/)
47-
- [Libav](http://libav.org/) (unmaintained)
48-
- [Aegisub](http://www.aegisub.org/)
49-
- [Kodi (XBMC)](http://kodi.tv/)
50-
- [avidemux](http://fixounet.free.fr/avidemux/)
51-
- [PunkGraphicsStream (BD subtitle encoder)](http://code.google.com/p/punkgraphicstream/)
52-
- [HandBrake](http://handbrake.fr/)
53-
- [MX Player](https://play.google.com/store/apps/details?id=com.mxtech.videoplayer.ad)
54-
- [QMPlay2](http://zaps166.sourceforge.net/?app=QMPlay2)
55-
- [SubtitlesOctopus](https://github.com/libass/JavascriptSubtitlesOctopus) (JavaScript ASS via wasm libass)
56-
- [Crunchyroll](http://www.crunchyroll.com/) uses SubtitlesOctopus
57-
- [AssRender for Avisynth(+)](http://avisynth.nl/index.php/AssRender)
58-
5937
Information about the ASS format:
6038
=================================
6139
- [ASS format overview](https://github.com/libass/libass/wiki/ASS-File-Format-Guide)
@@ -68,8 +46,9 @@ Other ASS/SSA implementations:
6846
- [xy-VSFilter/XySubFilter](https://github.com/Cyberbeing/xy-VSFilter/)
6947
- [pfmod](https://github.com/pinterf/xy-VSFilter/)
7048
- VSFilter in [MPC-HC](https://github.com/clsid2/mpc-hc/tree/develop/src/filters/transform/VSFilter/)
71-
- [VSFilterMod](https://code.google.com/archive/p/vsfiltermod/) (with custom format extensions)
72-
- [sorayuki fork](https://github.com/sorayuki/VSFilterMod/) with some bugfixes
49+
- [VSFilterMod](https://code.google.com/archive/p/vsfiltermod/) with custom format extensions (defunct, subsumed by forks)
50+
- [sorayuki fork](https://github.com/sorayuki/VSFilterMod/) with some bugfixes (defunct)
51+
- various forks focussing on internal use
7352
- [Threaded VSFilter](https://code.google.com/p/threaded-vsfilter/) (defunct)
7453
- VSFilter in [Guliverkli2](http://sourceforge.net/projects/guliverkli2/) (defunct, subsumed by all of the above)
7554
- VSFilter in [guliverkli](http://sourceforge.net/projects/guliverkli/) (defunct, forked as Guliverkli2)

RELEASEVERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.17.2
1+
0.17.3

checkasm/be_blur.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
#include "checkasm.h"
2020

21+
#include <string.h>
22+
2123
#define HEIGHT 8
2224
#define STRIDE 64
2325
#define MIN_WIDTH 2

checkasm/blend_bitmaps.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
#include "checkasm.h"
2020

21+
#include <string.h>
22+
2123
#define HEIGHT 8
2224
#define DST_STRIDE 64
2325
#define MIN_WIDTH 1

checkasm/blur.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,11 @@
1616
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1717
*/
1818

19+
#include "ass_utils.h"
1920
#include "checkasm.h"
2021

22+
#include <string.h>
23+
2124
#define HEIGHT 13
2225
#define STRIDE 64
2326
#define MIN_WIDTH 1

checkasm/checkasm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2626
*/
2727

28+
#include "ass_utils.h"
2829
#include "checkasm.h"
2930

3031
#include <math.h>
@@ -736,7 +737,6 @@ int checkasm_bench_func(void) {
736737

737738
/* Indicate that the current test has failed, return whether verbose printing
738739
* is requested. */
739-
ASM_CALLABLE
740740
int checkasm_fail_func(const char *const msg, ...) {
741741
if (state.current_func_ver && state.current_func_ver->cpu &&
742742
state.current_func_ver->ok)

0 commit comments

Comments
 (0)