From b873d056bc084ce1af412ed1179ed89122a7109f Mon Sep 17 00:00:00 2001 From: John Lin Date: Wed, 6 May 2020 12:00:22 +0000 Subject: [PATCH] Bug 1634170 - clear crypto info before reusing recycled sample. r=geckoview-reviewers,esawin Differential Revision: https://phabricator.services.mozilla.com/D73989 --- .../geckoview/src/main/java/org/mozilla/gecko/media/Sample.java | 1 + 1 file changed, 1 insertion(+) diff --git a/mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/Sample.java b/mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/Sample.java index 907c236c18cf..8219bbcd15c1 100644 --- a/mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/Sample.java +++ b/mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/Sample.java @@ -52,6 +52,7 @@ public final class Sample implements Parcelable { private void readCrypto(final Parcel in) { int hasCryptoInfo = in.readInt(); if (hasCryptoInfo == 0) { + cryptoInfo = null; return; }