Don't anonymously typedef structs
[ffmpeg.git] / avprobe.c
index 6198c05..926a781 100644 (file)
--- a/avprobe.c
+++ b/avprobe.c
@@ -84,14 +84,14 @@ typedef enum {
     OBJECT
 } PrintElementType;
 
-typedef struct {
+typedef struct PrintElement {
     const char *name;
     PrintElementType type;
     int64_t index;
     int64_t nb_elems;
 } PrintElement;
 
-typedef struct {
+typedef struct PrintContext {
     PrintElement *prefix;
     int level;
     void (*print_header)(void);