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
6494c001
Commit
6494c001
authored
Aug 17, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avconv: cosmetics, move OutputStream.
Allows us to get rid of forward InputStream declaration.
parent
e659c515
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
26 deletions
+25
-26
avconv.c
avconv.c
+25
-26
No files found.
avconv.c
View file @
6494c001
...
...
@@ -218,7 +218,31 @@ static AVBitStreamFilterContext *subtitle_bitstream_filters=NULL;
#define DEFAULT_PASS_LOGFILENAME_PREFIX "av2pass"
struct
InputStream
;
typedef
struct
InputStream
{
int
file_index
;
AVStream
*
st
;
int
discard
;
/* true if stream data should be discarded */
int
decoding_needed
;
/* true if the packets must be decoded in 'raw_fifo' */
AVCodec
*
dec
;
int64_t
start
;
/* time when read started */
int64_t
next_pts
;
/* synthetic pts for cases where pkt.pts
is not defined */
int64_t
pts
;
/* current pts */
PtsCorrectionContext
pts_ctx
;
double
ts_scale
;
int
is_start
;
/* is 1 at the start and after a discontinuity */
int
showed_multi_packet_warning
;
AVDictionary
*
opts
;
}
InputStream
;
typedef
struct
InputFile
{
AVFormatContext
*
ctx
;
int
eof_reached
;
/* true if eof reached */
int
ist_index
;
/* index of first stream in ist_table */
int
buffer_size
;
/* current total buffer size */
int64_t
ts_offset
;
}
InputFile
;
typedef
struct
OutputStream
{
int
file_index
;
/* file index */
...
...
@@ -275,31 +299,6 @@ typedef struct OutputStream {
int
is_past_recording_time
;
}
OutputStream
;
typedef
struct
InputStream
{
int
file_index
;
AVStream
*
st
;
int
discard
;
/* true if stream data should be discarded */
int
decoding_needed
;
/* true if the packets must be decoded in 'raw_fifo' */
AVCodec
*
dec
;
int64_t
start
;
/* time when read started */
int64_t
next_pts
;
/* synthetic pts for cases where pkt.pts
is not defined */
int64_t
pts
;
/* current pts */
PtsCorrectionContext
pts_ctx
;
double
ts_scale
;
int
is_start
;
/* is 1 at the start and after a discontinuity */
int
showed_multi_packet_warning
;
AVDictionary
*
opts
;
}
InputStream
;
typedef
struct
InputFile
{
AVFormatContext
*
ctx
;
int
eof_reached
;
/* true if eof reached */
int
ist_index
;
/* index of first stream in ist_table */
int
buffer_size
;
/* current total buffer size */
int64_t
ts_offset
;
}
InputFile
;
typedef
struct
OutputFile
{
AVFormatContext
*
ctx
;
...
...
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