We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c30e14f commit 3f6d27aCopy full SHA for 3f6d27a
src/org/freedesktop/gstreamer/lowlevel/GValueAPI.java
@@ -242,7 +242,7 @@ public static final class GValueArray extends com.sun.jna.Structure {
242
public volatile int n_prealloced;
243
244
private boolean ownsMemory;
245
- private static final Pointer NULL_POINTER = new Pointer(0);
+ private static final Pointer NO_MEMORY_POINTER = new Pointer(0);
246
247
public GValueArray() {
248
this(0);
@@ -255,7 +255,7 @@ public GValueArray(int n_prealloced) {
255
256
public GValueArray(Pointer pointer) {
257
super(pointer);
258
- if (pointer != null && !NULL_POINTER.equals(pointer))
+ if (pointer != Pointer.NULL && !NO_MEMORY_POINTER.equals(pointer))
259
n_values = pointer.getInt(0);
260
}
261
0 commit comments