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
66acccf0
Commit
66acccf0
authored
Sep 14, 2006
by
Panagiotis Issaris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make OFFSET() reuse offsetof
Originally committed as revision 6251 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
5894991f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
utils.c
libavcodec/utils.c
+1
-1
utils.c
libavformat/utils.c
+1
-1
No files found.
libavcodec/utils.c
View file @
66acccf0
...
...
@@ -438,7 +438,7 @@ static const char* context_to_name(void* ptr) {
return
"NULL"
;
}
#define OFFSET(x)
(int)&((AVCodecContext*)0)->x
#define OFFSET(x)
offsetof(AVCodecContext,x)
#define DEFAULT 0 //should be NAN but it doesnt work as its not a constant in glibc as required by ANSI/ISO C
//these names are too long to be readable
#define V AV_OPT_FLAG_VIDEO_PARAM
...
...
libavformat/utils.c
View file @
66acccf0
...
...
@@ -458,7 +458,7 @@ static const char* format_to_name(void* ptr)
else
return
"NULL"
;
}
#define OFFSET(x)
(int)&((AVFormatContext*)0)->x
#define OFFSET(x)
offsetof(AVFormatContext,x)
#define DEFAULT 0 //should be NAN but it doesnt work as its not a constant in glibc as required by ANSI/ISO C
//these names are too long to be readable
#define E AV_OPT_FLAG_ENCODING_PARAM
...
...
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