Skip to content

Commit

Permalink
Fix AI marker
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecot committed Nov 24, 2023
1 parent 42e82c3 commit b7f49a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/readers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ impl crate::FileFormat {
const OVERLAP_SIZE: usize = AI_MARKER.len() - 1;

// Marker for the AI file format.
const AI_MARKER: &[u8] = b"<</AIMetaData";
const AI_MARKER: &[u8] = b"AIPrivateData";

// Rewinds to the beginning of the stream plus the size of the PDF file format signature.
reader.seek(SeekFrom::Start(5))?;
Expand Down

0 comments on commit b7f49a4

Please sign in to comment.