File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -345,6 +345,11 @@ pub struct Mp4parseFragmentInfo {
345345
346346/// Parser state for MP4 files, exposed to C callers via raw pointer.
347347///
348+ /// # Thread safety
349+ ///
350+ /// A parser instance must not be accessed from multiple threads
351+ /// concurrently. The caller is responsible for serializing all access.
352+ ///
348353/// # Pointer stability
349354///
350355/// Several C API functions return raw pointers into data cached on this
@@ -475,6 +480,12 @@ impl ContextParser for Mp4parseParser {
475480 }
476481}
477482
483+ /// Parser state for AVIF files, exposed to C callers via raw pointer.
484+ ///
485+ /// # Thread safety
486+ ///
487+ /// A parser instance must not be accessed from multiple threads
488+ /// concurrently. The caller is responsible for serializing all access.
478489#[ derive( Default ) ]
479490pub struct Mp4parseAvifParser {
480491 context : AvifContext ,
You can’t perform that action at this time.
0 commit comments