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
d3e3ffa5
Commit
d3e3ffa5
authored
Nov 28, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rmdec: don't set codec timebase.
It's not supposed to be set outside of lavc. Set r_frame_rate instead.
parent
741a05a2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
rmdec.c
libavformat/rmdec.c
+2
-3
No files found.
libavformat/rmdec.c
View file @
d3e3ffa5
...
@@ -332,10 +332,9 @@ ff_rm_read_mdpr_codecdata (AVFormatContext *s, AVIOContext *pb,
...
@@ -332,10 +332,9 @@ ff_rm_read_mdpr_codecdata (AVFormatContext *s, AVIOContext *pb,
if
((
ret
=
rm_read_extradata
(
pb
,
st
->
codec
,
codec_data_size
-
(
avio_tell
(
pb
)
-
codec_pos
)))
<
0
)
if
((
ret
=
rm_read_extradata
(
pb
,
st
->
codec
,
codec_data_size
-
(
avio_tell
(
pb
)
-
codec_pos
)))
<
0
)
return
ret
;
return
ret
;
av_reduce
(
&
st
->
codec
->
time_base
.
num
,
&
st
->
codec
->
time_base
.
den
,
av_reduce
(
&
st
->
r_frame_rate
.
den
,
&
st
->
r_frame_rate
.
num
,
0x10000
,
fps
,
(
1
<<
30
)
-
1
);
0x10000
,
fps
,
(
1
<<
30
)
-
1
);
st
->
avg_frame_rate
.
num
=
st
->
codec
->
time_base
.
den
;
st
->
avg_frame_rate
=
st
->
r_frame_rate
;
st
->
avg_frame_rate
.
den
=
st
->
codec
->
time_base
.
num
;
}
}
skip:
skip:
...
...
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