Skip to content

Commit 8c4db1c

Browse files
committed
Fix linter errors
Fix GStreamer warnings and REUSE ignores
1 parent 2481f44 commit 8c4db1c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.reuse/dep5

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
22
Upstream-Name: Pion
33
Source: https://github.com/pion/
44

5-
Files: README.md DESIGN.md **/README.md AUTHORS.txt renovate.json go.mod go.sum **/go.mod **/go.sum .eslintrc.json package.json examples/examples.json
5+
Files: README.md DESIGN.md **/README.md AUTHORS.txt renovate.json go.mod go.sum **/go.mod **/go.sum .eslintrc.json package.json examples.json sfu-ws/flutter/.gitignore sfu-ws/flutter/pubspec.yaml
66
Copyright: 2023 The Pion community <https://pion.ly>
77
License: MIT
88

internal/gstreamer-sink/gst.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void gstreamer_receive_stop_pipeline(GstElement *pipeline) { gst_element_set_sta
5757
void gstreamer_receive_push_buffer(GstElement *pipeline, void *buffer, int len) {
5858
GstElement *src = gst_bin_get_by_name(GST_BIN(pipeline), "src");
5959
if (src != NULL) {
60-
gpointer p = g_memdup(buffer, len);
60+
gpointer p = g_memdup2(buffer, len);
6161
GstBuffer *buffer = gst_buffer_new_wrapped(p, len);
6262
gst_app_src_push_buffer(GST_APP_SRC(src), buffer);
6363
gst_object_unref(src);

0 commit comments

Comments
 (0)