mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 04:22:27 +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>
|
#include <dlfcn.h>
|
||||||
#endif
|
#endif
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <string.h> /* G_VA_COPY */
|
||||||
#include "gstinfo.h"
|
#include "gstinfo.h"
|
||||||
#include "gstlog.h"
|
#include "gstlog.h"
|
||||||
#include "gst_private.h"
|
#include "gst_private.h"
|
||||||
|
@ -295,7 +296,7 @@ void gst_debug_log_valist (GstDebugCategory *category, GstDebugLevel level,
|
||||||
|
|
||||||
message.message = NULL;
|
message.message = NULL;
|
||||||
message.format = format;
|
message.format = format;
|
||||||
message.arguments = args;
|
G_VA_COPY (message.arguments, args);
|
||||||
|
|
||||||
handler = __log_functions;
|
handler = __log_functions;
|
||||||
while (handler) {
|
while (handler) {
|
||||||
|
|
Loading…
Reference in a new issue