mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avformat: Identify anonymous AVIO typedef structs.
Anonymous typedef structs prevent forward declaration, this change gives the AVIOContext and AVIOInterruptCB structures a name. These structures are now in line with other common structures such as AVFormatContext and AVCodecContext. Signed-off-by: Dale Curtis <dalecurtis@chromium.org> Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:
parent
93e81ee81c
commit
0575772fa0
@ -48,7 +48,7 @@
|
|||||||
* new elements have been added after this struct in AVFormatContext
|
* new elements have been added after this struct in AVFormatContext
|
||||||
* or AVIOContext.
|
* or AVIOContext.
|
||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct AVIOInterruptCB {
|
||||||
int (*callback)(void*);
|
int (*callback)(void*);
|
||||||
void *opaque;
|
void *opaque;
|
||||||
} AVIOInterruptCB;
|
} AVIOInterruptCB;
|
||||||
@ -65,7 +65,7 @@ typedef struct {
|
|||||||
* when implementing custom I/O. Normally these are set to the
|
* when implementing custom I/O. Normally these are set to the
|
||||||
* function pointers specified in avio_alloc_context()
|
* function pointers specified in avio_alloc_context()
|
||||||
*/
|
*/
|
||||||
typedef struct {
|
typedef struct AVIOContext {
|
||||||
/**
|
/**
|
||||||
* A class for private options.
|
* A class for private options.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user