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
e4e70d2e
Commit
e4e70d2e
authored
Sep 22, 2003
by
Falk Hüffner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation with ccc
Originally committed as revision 2298 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
fd0f45e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
4xm.c
libavcodec/4xm.c
+1
-1
avformat.h
libavformat/avformat.h
+7
-0
No files found.
libavcodec/4xm.c
View file @
e4e70d2e
...
...
@@ -551,7 +551,7 @@ static int decode_i_frame(FourXContext *f, uint8_t *buf, int length){
uint16_t
*
dst
=
(
uint16_t
*
)
f
->
current_picture
.
data
[
0
];
const
int
stride
=
f
->
current_picture
.
linesize
[
0
]
>>
1
;
const
int
bitstream_size
=
get32
(
buf
);
const
int
token_count
__attribute
((
unused
))
=
get32
(
buf
+
bitstream_size
+
8
);
const
int
token_count
__attribute
__
((
unused
))
=
get32
(
buf
+
bitstream_size
+
8
);
int
prestream_size
=
4
*
get32
(
buf
+
bitstream_size
+
4
);
uint8_t
*
prestream
=
buf
+
bitstream_size
+
12
;
...
...
libavformat/avformat.h
View file @
e4e70d2e
...
...
@@ -505,6 +505,7 @@ char *pstrcat(char *buf, int buf_size, const char *s);
void
__dynarray_add
(
unsigned
long
**
tab_ptr
,
int
*
nb_ptr
,
unsigned
long
elem
);
#ifdef __GNUC__
#define dynarray_add(tab, nb_ptr, elem)\
do {\
typeof(tab) _tab = (tab);\
...
...
@@ -512,6 +513,12 @@ do {\
(void)sizeof(**_tab == _elem);
/* check that types are compatible */
\
__dynarray_add((unsigned long **)_tab, nb_ptr, (unsigned long)_elem);\
} while(0)
#else
#define dynarray_add(tab, nb_ptr, elem)\
do {\
__dynarray_add((unsigned long **)(tab), nb_ptr, (unsigned long)(elem));\
} while(0)
#endif
time_t
mktimegm
(
struct
tm
*
tm
);
const
char
*
small_strptime
(
const
char
*
p
,
const
char
*
fmt
,
...
...
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