Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
bf704132
Commit
bf704132
authored
Sep 22, 2014
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't anonymously typedef structs
parent
7f9f771e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
avprobe.c
avprobe.c
+2
-2
file.c
libavutil/file.c
+1
-1
parseutils.c
libavutil/parseutils.c
+3
-3
No files found.
avprobe.c
View file @
bf704132
...
...
@@ -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
);
...
...
libavutil/file.c
View file @
bf704132
...
...
@@ -35,7 +35,7 @@
#include <windows.h>
#endif
typedef
struct
{
typedef
struct
FileLogContext
{
const
AVClass
*
class
;
int
log_offset
;
void
*
log_ctx
;
...
...
libavutil/parseutils.c
View file @
bf704132
...
...
@@ -32,12 +32,12 @@
#include "time_internal.h"
#include "parseutils.h"
typedef
struct
{
typedef
struct
VideoSizeAbbr
{
const
char
*
abbr
;
int
width
,
height
;
}
VideoSizeAbbr
;
typedef
struct
{
typedef
struct
VideoRateAbbr
{
const
char
*
abbr
;
AVRational
rate
;
}
VideoRateAbbr
;
...
...
@@ -143,7 +143,7 @@ int av_parse_video_rate(AVRational *rate, const char *arg)
return
0
;
}
typedef
struct
{
typedef
struct
ColorEntry
{
const
char
*
name
;
///< a string representing the name of the color
uint8_t
rgb_color
[
3
];
///< RGB values for the color
}
ColorEntry
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment