From 00d006d5b34185823800decd602679a72f63ca91 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 22 Oct 2024 09:57:26 -0400 Subject: [PATCH] spelling: preceded Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- libsrc/avi/src/org/monte/media/avi/AVIOutputStream.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libsrc/avi/src/org/monte/media/avi/AVIOutputStream.java b/libsrc/avi/src/org/monte/media/avi/AVIOutputStream.java index 64df46b34..996cb6f1b 100644 --- a/libsrc/avi/src/org/monte/media/avi/AVIOutputStream.java +++ b/libsrc/avi/src/org/monte/media/avi/AVIOutputStream.java @@ -339,8 +339,8 @@ public class AVIOutputStream extends AbstractAVIStream { /** * Writes an already encoded palette change into the specified track.

If * a track contains palette changes, then all key frames must be immediately - * preceeded by a palette change chunk which also is a key frame. If a key - * frame is not preceeded by a key frame palette change chunk, it will be + * preceded by a palette change chunk which also is a key frame. If a key + * frame is not preceded by a key frame palette change chunk, it will be * downgraded to a delta frame. * * @throws IllegalArgumentException if the track is not a video track. @@ -423,7 +423,7 @@ public class AVIOutputStream extends AbstractAVIStream { // If a stream has palette changes, then only palette change samples can // be marked as keyframe. if (isKeyframe && 0 != (tr.flags & STRH_FLAG_VIDEO_PALETTE_CHANGES)) { - // If a keyframe sample is immediately preceeded by a palette change + // If a keyframe sample is immediately preceded by a palette change // we can raise the palette change to a keyframe. if (tr.samples.size() > 0) { Sample s = tr.samples.get(tr.samples.size() - 1); @@ -460,7 +460,7 @@ public class AVIOutputStream extends AbstractAVIStream { * method does not inspect the contents of the samples. The contents has to * match the format and dimensions of the media in this track.

If a * track contains palette changes, then all key frames must be immediately - * preceeded by a palette change chunk. If a key frame is not preceeded by a + * preceded by a palette change chunk. If a key frame is not preceded by a * palette change chunk, it will be downgraded to a delta frame. * * @param track The track index.