Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Unified Diff: media/filters/audio_decoder_unittest.cc

Issue 1517473002: Support HLS MPEG2 TS with SAMPLE-AES encryption. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@encryption_scheme
Patch Set: ddorwin comments Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/filters/audio_decoder_unittest.cc
diff --git a/media/filters/audio_decoder_unittest.cc b/media/filters/audio_decoder_unittest.cc
index 76ce8ec444b8d1b7590c94391bfe006b94218fae..ad575524b0bd9fcafca877eaa41ae3417ec4c1ae 100644
--- a/media/filters/audio_decoder_unittest.cc
+++ b/media/filters/audio_decoder_unittest.cc
@@ -204,7 +204,7 @@ class AudioDecoderTest : public testing::TestWithParam<DecoderTestData> {
// streams we need to extract it with a separate procedure.
if (GetParam().decoder_type == MEDIA_CODEC &&
GetParam().codec == kCodecAAC && config.extra_data().empty()) {
- ASSERT_TRUE(ParseAdtsHeader(packet.data, false, &config));
+ ASSERT_TRUE(ParseAdtsHeader(packet.data, false, Unencrypted(), &config));
ASSERT_FALSE(config.extra_data().empty());
}
#endif

Powered by Google App Engine
This is Rietveld 408576698