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
4b684105
Commit
4b684105
authored
Oct 15, 2003
by
Alex Beregszaszi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
10l
Originally committed as revision 2387 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
ff490720
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
nut.c
libavformat/nut.c
+9
-2
No files found.
libavformat/nut.c
View file @
4b684105
...
...
@@ -251,13 +251,20 @@ static int nut_write_header(AVFormatContext *s)
{
int
tmp
=
codec_get_bmp_tag
(
codec
->
codec_id
);
put_bi
(
bc
,
tmp
);
nom
=
codec
->
frame_rate
;
denom
=
codec
->
frame_rate_base
;
}
else
if
(
codec
->
codec_type
==
CODEC_TYPE_AUDIO
)
{
int
tmp
=
codec_get_wav_tag
(
codec
->
codec_id
);
put_bi
(
bc
,
tmp
);
}
if
(
codec
->
codec_type
==
CODEC_TYPE_VIDEO
)
{
nom
=
codec
->
frame_rate
;
denom
=
codec
->
frame_rate_base
;
}
else
{
nom
=
codec
->
sample_rate
/
8
;
denom
=
8
;
}
...
...
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