Skip to content
Snippets Groups Projects
  1. Oct 28, 2021
  2. Oct 27, 2021
    • Rémi Denis-Courmont's avatar
      threads: update documentation · 1f137b77
      Rémi Denis-Courmont authored
      As briefly noted in 0a8a5333, that
      changeset removed the confusing and messy limitations of mutex
      assertions. Previously, it would only work if:
      - checking for hold, not for non-hold,
      - POSIX threads was used,
      - LibVLC was built in debug mode,
      - the mutex was initialised dynamically (not `VLC_STATIC_MUTEX`).
      1f137b77
  3. Oct 26, 2021
  4. Oct 25, 2021
  5. Oct 24, 2021
  6. Oct 23, 2021
    • Alexandre Janniaux's avatar
      picture_pool: fix uninitialized warnings · 44c2aa7b
      Alexandre Janniaux authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      In the case count=0, the loop is not processed and the picture array's
      single element is not initialized, leading to a warning. We don't use
      count=0 anyway so remove the case.
      
      Fix the warnings (<unknown> is the VLA):
      
      ../../src/misc/picture_pool.c: In function ‘picture_pool_NewFromFormat’:
      ../../src/misc/picture_pool.c:140:28: warning: ‘<unknown>’ may be used uninitialized [-Wmaybe-uninitialized]
        140 |     picture_pool_t *pool = picture_pool_New(count, picture);
            |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      ../../src/misc/picture_pool.c:102:17: note: by argument 2 of type ‘picture_t * const*’ to ‘picture_pool_New’ declared here
        102 | picture_pool_t *picture_pool_New(unsigned count, picture_t *const *tab)
            |                 ^~~~~~~~~~~~~~~~
      44c2aa7b
    • Romain Vimont's avatar
      opengl: add typed set_callback for opengl filters · 53e91250
      Romain Vimont authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
      This will ensure that the callback has the expected signature.
      53e91250
  7. Oct 22, 2021
Loading