Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
d3783f47
Commit
d3783f47
authored
Nov 28, 2011
by
Anton Khirnov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf: don't set codec timebase in avformat_find_stream_info().
It's not supposed to be set outside of lavc.
parent
832ba44d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
utils.c
libavformat/utils.c
+0
-7
No files found.
libavformat/utils.c
View file @
d3783f47
...
@@ -2163,13 +2163,6 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
...
@@ -2163,13 +2163,6 @@ int avformat_find_stream_info(AVFormatContext *ic, AVDictionary **options)
AVDictionary
*
thread_opt
=
NULL
;
AVDictionary
*
thread_opt
=
NULL
;
st
=
ic
->
streams
[
i
];
st
=
ic
->
streams
[
i
];
if
(
st
->
codec
->
codec_type
==
AVMEDIA_TYPE_VIDEO
||
st
->
codec
->
codec_type
==
AVMEDIA_TYPE_SUBTITLE
)
{
/* if(!st->time_base.num)
st->time_base= */
if
(
!
st
->
codec
->
time_base
.
num
)
st
->
codec
->
time_base
=
st
->
time_base
;
}
//only for the split stuff
//only for the split stuff
if
(
!
st
->
parser
&&
!
(
ic
->
flags
&
AVFMT_FLAG_NOPARSE
))
{
if
(
!
st
->
parser
&&
!
(
ic
->
flags
&
AVFMT_FLAG_NOPARSE
))
{
st
->
parser
=
av_parser_init
(
st
->
codec
->
codec_id
);
st
->
parser
=
av_parser_init
(
st
->
codec
->
codec_id
);
...
...
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