mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-15 19:55:08 +00: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
|
||||
* or AVIOContext.
|
||||
*/
|
||||
typedef struct {
|
||||
typedef struct AVIOInterruptCB {
|
||||
int (*callback)(void*);
|
||||
void *opaque;
|
||||
} AVIOInterruptCB;
|
||||
@ -65,7 +65,7 @@ typedef struct {
|
||||
* when implementing custom I/O. Normally these are set to the
|
||||
* function pointers specified in avio_alloc_context()
|
||||
*/
|
||||
typedef struct {
|
||||
typedef struct AVIOContext {
|
||||
/**
|
||||
* A class for private options.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user