File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -301,6 +301,11 @@ pub struct Mp4parseFragmentInfo {
301301
302302/// Parser state for MP4 files, exposed to C callers via raw pointer.
303303///
304+ /// # Thread safety
305+ ///
306+ /// A parser instance must not be accessed from multiple threads
307+ /// concurrently. The caller is responsible for serializing all access.
308+ ///
304309/// # Pointer stability
305310///
306311/// Several C API functions return raw pointers into data cached on this
@@ -431,6 +436,12 @@ impl ContextParser for Mp4parseParser {
431436 }
432437}
433438
439+ /// Parser state for AVIF files, exposed to C callers via raw pointer.
440+ ///
441+ /// # Thread safety
442+ ///
443+ /// A parser instance must not be accessed from multiple threads
444+ /// concurrently. The caller is responsible for serializing all access.
434445#[ derive( Default ) ]
435446pub struct Mp4parseAvifParser {
436447 context : AvifContext ,
You can’t perform that action at this time.
0 commit comments