FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVIOInterruptCB Struct Reference

Callback for checking whether to abort blocking functions. More...

#include <avio.h>

Data Fields

int(* callback )(void *)
 
voidopaque
 

Detailed Description

Callback for checking whether to abort blocking functions.

AVERROR_EXIT is returned in this case by the interrupted function. During blocking operations, callback is called with opaque as parameter. If the callback returns 1, the blocking operation will be aborted.

No members can be added to this struct without a major bump, if new elements have been added after this struct in AVFormatContext or AVIOContext.

Definition at line 58 of file avio.h.

Field Documentation

int(* AVIOInterruptCB::callback)(void *)

Definition at line 59 of file avio.h.

Referenced by async_open(), ff_check_interrupt(), and read_thread().

void* AVIOInterruptCB::opaque

Definition at line 60 of file avio.h.

Referenced by ff_check_interrupt(), and read_thread().


The documentation for this struct was generated from the following file: