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
c15508dc
Commit
c15508dc
authored
Aug 02, 2009
by
Ramiro Polla
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use enums instead of int.
Originally committed as revision 19568 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
c959c6ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
output-example.c
libavformat/output-example.c
+3
-3
No files found.
libavformat/output-example.c
View file @
c15508dc
...
@@ -56,7 +56,7 @@ int audio_input_frame_size;
...
@@ -56,7 +56,7 @@ int audio_input_frame_size;
/*
/*
* add an audio output stream
* add an audio output stream
*/
*/
static
AVStream
*
add_audio_stream
(
AVFormatContext
*
oc
,
int
codec_id
)
static
AVStream
*
add_audio_stream
(
AVFormatContext
*
oc
,
enum
CodecID
codec_id
)
{
{
AVCodecContext
*
c
;
AVCodecContext
*
c
;
AVStream
*
st
;
AVStream
*
st
;
...
@@ -185,7 +185,7 @@ uint8_t *video_outbuf;
...
@@ -185,7 +185,7 @@ uint8_t *video_outbuf;
int
frame_count
,
video_outbuf_size
;
int
frame_count
,
video_outbuf_size
;
/* add a video output stream */
/* add a video output stream */
static
AVStream
*
add_video_stream
(
AVFormatContext
*
oc
,
int
codec_id
)
static
AVStream
*
add_video_stream
(
AVFormatContext
*
oc
,
enum
CodecID
codec_id
)
{
{
AVCodecContext
*
c
;
AVCodecContext
*
c
;
AVStream
*
st
;
AVStream
*
st
;
...
@@ -230,7 +230,7 @@ static AVStream *add_video_stream(AVFormatContext *oc, int codec_id)
...
@@ -230,7 +230,7 @@ static AVStream *add_video_stream(AVFormatContext *oc, int codec_id)
return
st
;
return
st
;
}
}
static
AVFrame
*
alloc_picture
(
in
t
pix_fmt
,
int
width
,
int
height
)
static
AVFrame
*
alloc_picture
(
enum
PixelForma
t
pix_fmt
,
int
width
,
int
height
)
{
{
AVFrame
*
picture
;
AVFrame
*
picture
;
uint8_t
*
picture_buf
;
uint8_t
*
picture_buf
;
...
...
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