diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ddbfd90b776db..b800f542bd393 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -217,7 +217,7 @@ jobs: vulkan-headers \ wayland-protocols ./ci/build-freebsd.sh - meson test -C build + meson test -v -C build msys2: runs-on: windows-latest diff --git a/ci/build-freebsd.sh b/ci/build-freebsd.sh index c393fb25fee32..5168b67c183d3 100755 --- a/ci/build-freebsd.sh +++ b/ci/build-freebsd.sh @@ -10,6 +10,7 @@ export LDFLAGS="$LDFLAGS -L/usr/local/lib" meson setup build \ --werror \ -Dc_args="-Wno-error=deprecated -Wno-error=deprecated-declarations" \ + -Db_sanitize=address \ -Diconv=disabled \ -Dlibmpv=true \ -Dlua=enabled \ diff --git a/sub/ass_mp.c b/sub/ass_mp.c index 634681f2ec68c..259c7c05fb527 100644 --- a/sub/ass_mp.c +++ b/sub/ass_mp.c @@ -48,12 +48,12 @@ void mp_ass_set_style(ASS_Style *style, double res_y, if (!style) return; - if (opts->font) { - if (!style->FontName || strcmp(style->FontName, opts->font) != 0) { - free(style->FontName); - style->FontName = strdup(opts->font); - } - } + // if (opts->font) { + // if (!style->FontName || strcmp(style->FontName, opts->font) != 0) { + // free(style->FontName); + // style->FontName = strdup(opts->font); + // } + // } // libass_font_size = FontSize * (window_height / res_y) // scale translates parameters from PlayResY=720 to res_y