Showing the changes to misc/node.c (1 of 16 files). Show all
Unified · Split
| @@ -1,7 +1,10 @@ | ||
| 1 | −#include "common/common.h" | |
| 2 | − | |
| 3 | 1 | #include "node.h" |
| 4 | 2 | |
| 3 | +#include <libmpv/client.h> | |
| 4 | + | |
| 5 | +#include "common/common.h" | |
| 6 | +#include "bstr.h" | |
| 7 | + | |
| 5 | 8 | // Init a node with the given format. If parent is not NULL, it is set as |
| 6 | 9 | // parent allocation according to m_option_type_node rules (which means |
| 7 | 10 | // the mpv_node_list allocs are used for chaining the TA allocations). |
| @@ -117,7 +120,7 @@ mpv_node *node_map_bget(mpv_node *src, struct bstr key) · 109 unmodified lines | ||
| 117 | 120 | |
| 118 | 121 | // Note: for MPV_FORMAT_NODE_MAP, this (incorrectly) takes the order into |
| 119 | 122 | // account, instead of treating it as set. |
| 120 | −bool equal_mpv_value(const void *a, const void *b, mpv_format format) | |
| 123 | +bool equal_mpv_value(const void *a, const void *b, int format) | |
| 121 | 124 | { |
| 122 | 125 | switch (format) { |
| 123 | 126 | case MPV_FORMAT_NONE: |