Title: [288167] trunk/Source/WebCore
Revision
288167
Author
[email protected]
Date
2022-01-18 17:18:14 -0800 (Tue, 18 Jan 2022)

Log Message

Fix -Wmultichar warnings in HEVCUtilities.cpp
https://bugs.webkit.org/show_bug.cgi?id=235337

Patch by Michael Catanzaro <[email protected]> on 2022-01-18
Reviewed by Darin Adler.

* platform/graphics/HEVCUtilities.cpp:
(WebCore::parseHEVCDecoderConfigurationRecord):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (288166 => 288167)


--- trunk/Source/WebCore/ChangeLog	2022-01-19 01:16:41 UTC (rev 288166)
+++ trunk/Source/WebCore/ChangeLog	2022-01-19 01:18:14 UTC (rev 288167)
@@ -1,3 +1,13 @@
+2022-01-18  Michael Catanzaro  <[email protected]>
+
+        Fix -Wmultichar warnings in HEVCUtilities.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=235337
+
+        Reviewed by Darin Adler.
+
+        * platform/graphics/HEVCUtilities.cpp:
+        (WebCore::parseHEVCDecoderConfigurationRecord):
+
 2022-01-18  Chris Dumez  <[email protected]>
 
         input.labels doesn't work inside shadow DOM

Modified: trunk/Source/WebCore/platform/graphics/HEVCUtilities.cpp (288166 => 288167)


--- trunk/Source/WebCore/platform/graphics/HEVCUtilities.cpp	2022-01-19 01:16:41 UTC (rev 288166)
+++ trunk/Source/WebCore/platform/graphics/HEVCUtilities.cpp	2022-01-19 01:18:14 UTC (rev 288167)
@@ -265,9 +265,9 @@
         return std::nullopt;
 
     HEVCParameters parameters;
-    if (codecCode == FourCC('hev1'))
+    if (codecCode == FourCC("hev1"))
         parameters.codec = HEVCParameters::Codec::Hev1;
-    else if (codecCode == FourCC('hvc1'))
+    else if (codecCode == FourCC("hvc1"))
         parameters.codec = HEVCParameters::Codec::Hvc1;
     else
         return std::nullopt;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to