summaryrefslogtreecommitdiff
path: root/libavcodec/roqvideoenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-09-22 11:01:31 +0200
committerDiego Biurrun <diego@biurrun.de>2015-02-14 10:13:49 -0800
commit7f9f771eac0d37a632e0ed9bd89961d57fcfb7e0 (patch)
tree5468ce1ec8288ea779ea3754620d6bddcf22e918 /libavcodec/roqvideoenc.c
parentdaf8cf358a098a903d59adb6c0d0cc3262a8c93e (diff)
avcodec: Don't anonymously typedef structs
Diffstat (limited to 'libavcodec/roqvideoenc.c')
-rw-r--r--libavcodec/roqvideoenc.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/libavcodec/roqvideoenc.c b/libavcodec/roqvideoenc.c
index fb7635a5ae..fd651e9552 100644
--- a/libavcodec/roqvideoenc.c
+++ b/libavcodec/roqvideoenc.c
@@ -183,8 +183,7 @@ static inline int squared_diff_macroblock(uint8_t a[], uint8_t b[], int size)
return sdiff;
}
-typedef struct
-{
+typedef struct SubcelEvaluation {
int eval_dist[4];
int best_bit_use;
int best_coding;
@@ -194,8 +193,7 @@ typedef struct
int cbEntry;
} SubcelEvaluation;
-typedef struct
-{
+typedef struct CelEvaluation {
int eval_dist[4];
int best_coding;
@@ -207,8 +205,7 @@ typedef struct
int sourceX, sourceY;
} CelEvaluation;
-typedef struct
-{
+typedef struct RoqCodebooks {
int numCB4;
int numCB2;
int usedCB2[MAX_CBS_2x2];
@@ -602,8 +599,7 @@ static inline uint8_t motion_arg(motion_vect mot)
return ((ax&15)<<4) | (ay&15);
}
-typedef struct
-{
+typedef struct CodingSpool {
int typeSpool;
int typeSpoolLength;
uint8_t argumentSpool[64];