mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-21 22:58:16 +00:00
use G_VA_COPY instead of directly assigning va_lists
Original commit message from CVS: use G_VA_COPY instead of directly assigning va_lists
This commit is contained in:
parent
2fc36c6669
commit
1723ca9b19
1 changed files with 2 additions and 1 deletions
|
@ -31,6 +31,7 @@
|
|||
#include <dlfcn.h>
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
#include <string.h> /* G_VA_COPY */
|
||||
#include "gstinfo.h"
|
||||
#include "gstlog.h"
|
||||
#include "gst_private.h"
|
||||
|
@ -295,7 +296,7 @@ void gst_debug_log_valist (GstDebugCategory *category, GstDebugLevel level,
|
|||
|
||||
message.message = NULL;
|
||||
message.format = format;
|
||||
message.arguments = args;
|
||||
G_VA_COPY (message.arguments, args);
|
||||
|
||||
handler = __log_functions;
|
||||
while (handler) {
|
||||
|
|
Loading…
Reference in a new issue