1. 27 Dec, 2017 1 commit
  2. 26 Dec, 2017 14 commits
  3. 25 Dec, 2017 3 commits
  4. 23 Dec, 2017 7 commits
  5. 22 Dec, 2017 15 commits
    • Natanael Copa's avatar
      configure: test for getaddrinfo_a and libanl · dd8f3a51
      Natanael Copa authored
      Test for the existence of the GNU extension getaddrinf_a and libanl
      instead of assuming that every Linux has it. Fall back to posix variant
      if they are missing.
      
      This fixes build with musl libc which does not implement this GNU
      extension.
      
      Fixes #19320
      Signed-off-by: 's avatarNatanael Copa <ncopa@alpinelinux.org>
      Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
      (cherry picked from commit 01fd9fe4)
      Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
      dd8f3a51
    • Thomas Guillem's avatar
      contrib: x264: disable asm on Android x86* · 52be7faf
      Thomas Guillem authored
      Because of TEXTREL...
      
      (cherry picked from commit 250e44ff)
      Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
      52be7faf
    • Thomas Guillem's avatar
      contrib: vpx: fix x86 android build with encoders · ba4e6fe3
      Thomas Guillem authored
      __ANDROID__ doesn't seem to be defined when built from the android yasm
      
      (cherry picked from commit c2ddfa5e)
      Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
      ba4e6fe3
    • Natanael Copa's avatar
      chroma: fix chroma copy tests on big endian · 35db70ce
      Natanael Copa authored
      Signed-off-by: 's avatarNatanael Copa <ncopa@alpinelinux.org>
      Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
      (cherry picked from commit 9e0b898f)
      Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
      35db70ce
    • François Cartegnie's avatar
      text_renderer: workaround max y size limit · 72b5e60f
      François Cartegnie authored
      because computed regions size usually do not
       match the real line size.
      (the right fix being to know font metrics
       before our renderers)
      
      refs #19230
      
      (cherry picked from commit 42584bd4)
      Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
      72b5e60f
    • Thomas Guillem's avatar
      DCP: fix heap-use-after-free on xml_ReaderNextNode error · 6cc343a2
      Thomas Guillem authored
      ==9090==ERROR: AddressSanitizer: heap-use-after-free on address 0x602000173170 at pc 0x7f8a86e19063 bp 0x7f8a7bbf9230 sp 0x7f8a7bbf89e0
      READ of size 2 at 0x602000173170 thread T10
      [000061200002c080] dbus interface debug: Getting All properties
      [000061200002c080] dbus interface debug: Getting All properties
          #0 0x7f8a86e19062  (/usr/lib/x86_64-linux-gnu/libasan.so.3+0x3c062)
          #1 0x7f8a84dda3b6 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0x1203b6)
          #2 0x7f8a4d1bfef1 in XmlFile::ReadNextNode(demux_t*, xml_reader_t*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) ../../modules/access/dcp/dcpparser.cpp:750
          #3 0x7f8a4d1c0d82 in PKL::Parse() ../../modules/access/dcp/dcpparser.cpp:864
          #4 0x7f8a4d1bbe32 in AssetMap::Parse() ../../modules/access/dcp/dcpparser.cpp:291
          #5 0x7f8a4d1b2f7c in parseXML(demux_t*) ../../modules/access/dcp/dcp.cpp:1011
          #6 0x7f8a4d1b2b12 in dcpInit(demux_t*) ../../modules/access/dcp/dcp.cpp:942
          #7 0x7f8a4d1ad3c2 in Open ../../modules/access/dcp/dcp.cpp:326
          #8 0x7f8a8653b97d in generic_start ../../src/modules/modules.c:356
          #9 0x7f8a8653acd4 in module_load ../../src/modules/modules.c:183
          #10 0x7f8a8653b328 in vlc_module_load ../../src/modules/modules.c:279
          #11 0x7f8a8653bace in module_need ../../src/modules/modules.c:371
          #12 0x7f8a8658c8c5 in demux_NewAdvanced ../../src/input/demux.c:270
          #13 0x7f8a865c84c7 in InputDemuxNew ../../src/input/input.c:2403
          #14 0x7f8a865c8e89 in InputSourceNew ../../src/input/input.c:2555
          #15 0x7f8a865c15bf in Init ../../src/input/input.c:1303
          #16 0x7f8a865bc641 in Run ../../src/input/input.c:498
          #17 0x7f8a857ee493 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7493)
          #18 0x7f8a8532cafe in __clone (/lib/x86_64-linux-gnu/libc.so.6+0xe8afe)
      
      0x602000173170 is located 0 bytes inside of 12-byte region [0x602000173170,0x60200017317c)
      freed by thread T10 here:
          #0 0x7f8a86e9ea10 in free (/usr/lib/x86_64-linux-gnu/libasan.so.3+0xc1a10)
          #1 0x7f8a78a29181 in ReaderNextNode ../../modules/misc/xml/libxml.c:217
          #2 0x7f8a4d1ba838 in xml_ReaderNextNode ../../include/vlc_xml.h:87
          #3 0x7f8a4d1bfec2 in XmlFile::ReadNextNode(demux_t*, xml_reader_t*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) ../../modules/access/dcp/dcpparser.cpp:744
          #4 0x7f8a4d1c0d82 in PKL::Parse() ../../modules/access/dcp/dcpparser.cpp:864
          #5 0x7f8a4d1bbe32 in AssetMap::Parse() ../../modules/access/dcp/dcpparser.cpp:291
          #6 0x7f8a4d1b2f7c in parseXML(demux_t*) ../../modules/access/dcp/dcp.cpp:1011
          #7 0x7f8a4d1b2b12 in dcpInit(demux_t*) ../../modules/access/dcp/dcp.cpp:942
          #8 0x7f8a4d1ad3c2 in Open ../../modules/access/dcp/dcp.cpp:326
          #9 0x7f8a8653b97d in generic_start ../../src/modules/modules.c:356
          #10 0x7f8a8653acd4 in module_load ../../src/modules/modules.c:183
          #11 0x7f8a8653b328 in vlc_module_load ../../src/modules/modules.c:279
          #12 0x7f8a8653bace in module_need ../../src/modules/modules.c:371
          #13 0x7f8a8658c8c5 in demux_NewAdvanced ../../src/input/demux.c:270
          #14 0x7f8a865c84c7 in InputDemuxNew ../../src/input/input.c:2403
          #15 0x7f8a865c8e89 in InputSourceNew ../../src/input/input.c:2555
          #16 0x7f8a865c15bf in Init ../../src/input/input.c:1303
          #17 0x7f8a865bc641 in Run ../../src/input/input.c:498
          #18 0x7f8a857ee493 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x7493)
      
      (cherry picked from commit 1b1de3b7)
      Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
      6cc343a2
    • KO Myung-Hun's avatar
      os2: package: fix build · 9ab3615d
      KO Myung-Hun authored
      ```--
        CCLD     libvlccore.la
      weakld: error: Unresolved symbol (UNDEF) '___atomic_fetch_add_8'.
      weakld: info: The symbol is referenced by:
          P:\tmp\ldconv_decoder_o_85b55a37ad3f1d59f8.obj
          P:\tmp\ldconv_es_out_o_85b55a37ad3f1d7938.obj
      weakld: error: Unresolved symbol (UNDEF) '___atomic_store_8'.
      weakld: info: The symbol is referenced by:
          P:\tmp\ldconv_stats_o_85b55a37ad3f1df250.obj
      weakld: error: Unresolved symbol (UNDEF) '___atomic_load_8'.
      weakld: info: The symbol is referenced by:
          P:\tmp\ldconv_stats_o_85b55a37ad3f1df250.obj
      Ignoring unresolved externals reported from weak prelinker.
      Error! E2028: ___atomic_fetch_add_8 is an undefined reference
      Error! E2028: ___atomic_store_8 is an undefined reference
      Error! E2028: ___atomic_load_8 is an undefined reference
      file P:/tmp\ldconv_decoder_o_85b55a37ad3f1d59f8.obj(ldconv_decoder_o_85b55a37ad3f1d59f8.obj): undefined symbol ___atomic_fetch_add_8
      file P:/tmp\ldconv_es_out_o_85b55a37ad3f1d7938.obj(ldconv_es_out_o_85b55a37ad3f1d7938.obj): undefined symbol ___atomic_fetch_add_8
      file P:/tmp\ldconv_stats_o_85b55a37ad3f1df250.obj(ldconv_stats_o_85b55a37ad3f1df250.obj): undefined symbol ___atomic_store_8
      file P:/tmp\ldconv_stats_o_85b55a37ad3f1df250.obj(ldconv_stats_o_85b55a37ad3f1df250.obj): undefined symbol ___atomic_load_8
      ```
      
      --
      Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
      
      (cherry picked from commit d5c86c91)
      Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
      9ab3615d
    • Hugo Beauzée-Luyssen's avatar
      dcp: Fix invalid delete · 86d167ce
      Hugo Beauzée-Luyssen authored
      CID #1463250
      
      (cherry picked from commit ab07285e)
      Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
      86d167ce
    • Hugo Beauzée-Luyssen's avatar
      dcp: Fix potentially invalid release · b9bf3bcb
      Hugo Beauzée-Luyssen authored
      CID #1463254
      
      (cherry picked from commit 3d4c060b)
      Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
      b9bf3bcb
    • Hugo Beauzée-Luyssen's avatar
      dcp: Fix assignment instead of comparison · 8ac41cb1
      Hugo Beauzée-Luyssen authored
      CID #1463255 #1463251
      
      (cherry picked from commit a15a0a64)
      Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
      8ac41cb1
    • Hugo Beauzée-Luyssen's avatar
      dcpparser: Remove unused (and uninitialized) member · 0ecfd991
      Hugo Beauzée-Luyssen authored
      CID #1463259
      
      (cherry picked from commit a30e9110)
      Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
      0ecfd991
    • Hugo Beauzée-Luyssen's avatar
      dcp: Remove unrequired checks · a208a90a
      Hugo Beauzée-Luyssen authored
      CID #1463257 #1463249
      
      (cherry picked from commit f9e30b38)
      Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
      a208a90a
    • Hugo Beauzée-Luyssen's avatar
      dcp: Fix leak on error · 1d9fbd06
      Hugo Beauzée-Luyssen authored
      CID #1463258
      
      (cherry picked from commit 34b86486)
      Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
      1d9fbd06
    • Hugo Beauzée-Luyssen's avatar
      dcp: Add missing initialization · fe637855
      Hugo Beauzée-Luyssen authored
      CID #1463259
      
      (cherry picked from commit d4652c07)
      Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
      fe637855
    • Thomas Guillem's avatar
      transcode: fix encoder chroma initialization · 3e61bafe
      Thomas Guillem authored
      (cherry picked from commit 41ef73b4)
      Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
      3e61bafe