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
546031ee
Commit
546031ee
authored
Apr 23, 2003
by
Zdenek Kabelac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* keeping compiler happy and quiet
Originally committed as revision 1817 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
b6a17df4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
avi.h
libavformat/avi.h
+6
-1
avienc.c
libavformat/avienc.c
+2
-2
aviobuf.c
libavformat/aviobuf.c
+0
-1
No files found.
libavformat/avi.h
View file @
546031ee
#ifndef FFMPEG_AVI_H
#define FFMPEG_AVI_H
#include "avcodec.h"
#define AVIF_HASINDEX 0x00000010 // Index at end of file?
#define AVIF_MUSTUSEINDEX 0x00000020
...
...
@@ -27,5 +31,6 @@ extern const CodecTag codec_bmp_tags[];
extern
const
CodecTag
codec_wav_tags
[];
unsigned
int
codec_get_tag
(
const
CodecTag
*
tags
,
int
id
);
enum
CodecID
;
enum
CodecID
codec_get_id
(
const
CodecTag
*
tags
,
unsigned
int
tag
);
#endif
/* FFMPEG_AVI_H */
libavformat/avienc.c
View file @
546031ee
...
...
@@ -525,9 +525,9 @@ static int avi_write_idx1(AVFormatContext *s)
unsigned
char
tag
[
5
];
if
(
!
url_is_streamed
(
pb
))
{
AVIIentry
*
ie
,
*
tie
;
AVIIentry
*
ie
=
0
,
*
tie
;
int
entry
[
MAX_STREAMS
];
int
empty
,
stream_id
;
int
empty
,
stream_id
=
-
1
;
idx_chunk
=
start_tag
(
pb
,
"idx1"
);
memset
(
&
entry
[
0
],
0
,
sizeof
(
entry
));
...
...
libavformat/aviobuf.c
View file @
546031ee
...
...
@@ -556,7 +556,6 @@ static void dyn_buf_write(void *opaque, uint8_t *buf, int buf_size)
{
DynBuffer
*
d
=
opaque
;
int
new_size
,
new_allocated_size
;
uint8_t
*
new_buffer
;
/* reallocate buffer if needed */
new_size
=
d
->
pos
+
buf_size
;
...
...
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