From daf8cf358a098a903d59adb6c0d0cc3262a8c93e Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 22 Sep 2014 09:19:33 +0200 Subject: avformat: Don't anonymously typedef structs --- libavformat/oggenc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavformat/oggenc.c') diff --git a/libavformat/oggenc.c b/libavformat/oggenc.c index 1b2644d5e5..70c7817fa8 100644 --- a/libavformat/oggenc.c +++ b/libavformat/oggenc.c @@ -35,7 +35,7 @@ #define MAX_PAGE_SIZE 65025 -typedef struct { +typedef struct OGGPage { int64_t start_granule; int64_t granule; int stream_index; @@ -46,7 +46,7 @@ typedef struct { uint16_t size; } OGGPage; -typedef struct { +typedef struct OGGStreamContext { unsigned page_counter; uint8_t *header[3]; int header_len[3]; @@ -66,7 +66,7 @@ typedef struct OGGPageList { struct OGGPageList *next; } OGGPageList; -typedef struct { +typedef struct OGGContext { const AVClass *class; OGGPageList *page_list; int pref_size; ///< preferred page size (0 => fill all segments) -- cgit v1.2.3