summaryrefslogtreecommitdiff
path: root/libavformat/oggenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-09-22 09:19:33 +0200
committerDiego Biurrun <diego@biurrun.de>2015-02-14 10:13:47 -0800
commitdaf8cf358a098a903d59adb6c0d0cc3262a8c93e (patch)
treea2390c7f51907470675321b25221c28ab6093616 /libavformat/oggenc.c
parent7769be590c7aeb2aad26ca723d105cf5203e33d2 (diff)
avformat: Don't anonymously typedef structs
Diffstat (limited to 'libavformat/oggenc.c')
-rw-r--r--libavformat/oggenc.c6
1 files changed, 3 insertions, 3 deletions
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)