Skip to content
  • Henrik Gramner's avatar
    x264_vfprintf: use va_copy · 53b3b747
    Henrik Gramner authored and Anton Mitrofanov's avatar Anton Mitrofanov committed
    It's undefined behavior to use the same va_list twice.
    
    This most likely didn't cause any issues in practice since the string would
    have to be larger than 4 KiB to trigger the fallback path.
    
    Use workaround for ICL as it doesn't define va_copy even for C99.
    53b3b747