summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2022-12-26 08:26:09 -0500
committerAndrew Kaster <andrewdkaster@gmail.com>2022-12-27 07:44:37 -0700
commit19d3821354a376396ad5501b86203617e35c18dd (patch)
treeda72d32d2a13c84e91ea7c6ba44a793288293f19
parent352c1fec2d5c60cb6fb97f193aebaf5bb29ad611 (diff)
downloadserenity-19d3821354a376396ad5501b86203617e35c18dd.zip
LibVideo: Fix two comment typos
-rw-r--r--Userland/Libraries/LibVideo/Containers/Matroska/Reader.cpp2
-rw-r--r--Userland/Libraries/LibVideo/VP9/ContextStorage.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibVideo/Containers/Matroska/Reader.cpp b/Userland/Libraries/LibVideo/Containers/Matroska/Reader.cpp
index a8b3f107e7..2791dbaa01 100644
--- a/Userland/Libraries/LibVideo/Containers/Matroska/Reader.cpp
+++ b/Userland/Libraries/LibVideo/Containers/Matroska/Reader.cpp
@@ -557,7 +557,7 @@ static DecoderErrorOr<Block> parse_simple_block(Streamer& streamer, Time cluster
// timestamp of a Block or SimpleBlock in nanoseconds you have to use the following formula:
// `( Cluster\Timestamp + ( block timestamp * TrackTimestampScale ) ) * TimestampScale`
//
- // When a CodecDelay Element is set, its value MUST be substracted from each Block timestamp
+ // When a CodecDelay Element is set, its value MUST be subtracted from each Block timestamp
// of that track. To get the timestamp in nanoseconds of the first frame in a Block or
// SimpleBlock, the formula becomes:
// `( ( Cluster\Timestamp + ( block timestamp * TrackTimestampScale ) ) * TimestampScale ) - CodecDelay`
diff --git a/Userland/Libraries/LibVideo/VP9/ContextStorage.h b/Userland/Libraries/LibVideo/VP9/ContextStorage.h
index 755033452a..356defc932 100644
--- a/Userland/Libraries/LibVideo/VP9/ContextStorage.h
+++ b/Userland/Libraries/LibVideo/VP9/ContextStorage.h
@@ -212,7 +212,7 @@ struct FrameBlockContext {
u8 segment_id { 0 };
};
-// Block context that is kept between frames until explictly cleared.
+// Block context that is kept between frames until explicitly cleared.
struct PersistentBlockContext {
PersistentBlockContext()
: available(false)