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
8b9c94e0
Commit
8b9c94e0
authored
Mar 08, 2009
by
Baptiste Coudurier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove useless fields
Originally committed as revision 17883 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ade29f99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
gxfenc.c
libavformat/gxfenc.c
+0
-7
No files found.
libavformat/gxfenc.c
View file @
8b9c94e0
...
...
@@ -45,13 +45,10 @@ typedef struct GXFStreamContext {
int
p_per_gop
;
int
b_per_i_or_p
;
///< number of B frames per I frame or P frame
int
first_gop_closed
;
int64_t
current_dts
;
int
dts_delay
;
}
GXFStreamContext
;
typedef
struct
GXFContext
{
uint32_t
nb_fields
;
uint32_t
material_flags
;
uint16_t
audio_tracks
;
uint16_t
mpeg_tracks
;
int64_t
creation_time
;
...
...
@@ -63,7 +60,6 @@ typedef struct GXFContext {
uint32_t
umf_length
;
uint16_t
umf_track_size
;
uint16_t
umf_media_size
;
int
audio_written
;
int
sample_rate
;
int
flags
;
AVFormatContext
*
fc
;
...
...
@@ -589,8 +585,6 @@ static int gxf_write_umf_packet(ByteIOContext *pb, GXFContext *ctx)
return
updatePacketSize
(
pb
,
pos
);
}
#define GXF_NODELAY -5000
static
const
int
GXF_samples_per_frame
[]
=
{
32768
,
0
};
static
int
gxf_write_header
(
AVFormatContext
*
s
)
...
...
@@ -647,7 +641,6 @@ static int gxf_write_header(AVFormatContext *s)
}
gxf
->
sample_rate
=
sc
->
sample_rate
;
av_set_pts_info
(
st
,
64
,
1
,
st
->
codec
->
time_base
.
den
);
sc
->
dts_delay
=
GXF_NODELAY
;
if
(
gxf_find_lines_index
(
sc
)
<
0
)
sc
->
lines_index
=
-
1
;
sc
->
sample_size
=
st
->
codec
->
bit_rate
;
...
...
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