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
00b4fdb7
Commit
00b4fdb7
authored
Aug 24, 2003
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32 compile fix
Originally committed as revision 2139 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
3519af27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
utils.c
libavformat/utils.c
+10
-4
No files found.
libavformat/utils.c
View file @
00b4fdb7
...
@@ -336,8 +336,11 @@ int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
...
@@ -336,8 +336,11 @@ int av_open_input_file(AVFormatContext **ic_ptr, const char *filename,
/* do not open file if the format does not need it. XXX: specific
/* do not open file if the format does not need it. XXX: specific
hack needed to handle RTSP/TCP */
hack needed to handle RTSP/TCP */
must_open_file
=
1
;
must_open_file
=
1
;
if
((
fmt
&&
(
fmt
->
flags
&
AVFMT_NOFILE
))
||
if
((
fmt
&&
(
fmt
->
flags
&
AVFMT_NOFILE
))
(
fmt
==
&
rtp_demux
&&
!
strcmp
(
filename
,
"null"
)))
{
#ifdef CONFIG_NETWORK
||
(
fmt
==
&
rtp_demux
&&
!
strcmp
(
filename
,
"null"
))
#endif
)
{
must_open_file
=
0
;
must_open_file
=
0
;
}
}
...
@@ -984,8 +987,11 @@ void av_close_input_file(AVFormatContext *s)
...
@@ -984,8 +987,11 @@ void av_close_input_file(AVFormatContext *s)
s
->
packet_buffer
=
NULL
;
s
->
packet_buffer
=
NULL
;
}
}
must_open_file
=
1
;
must_open_file
=
1
;
if
((
s
->
iformat
->
flags
&
AVFMT_NOFILE
)
||
if
((
s
->
iformat
->
flags
&
AVFMT_NOFILE
)
(
s
->
iformat
==
&
rtp_demux
&&
!
strcmp
(
s
->
filename
,
"null"
)))
{
#ifdef CONFIG_NETWORK
||
(
s
->
iformat
==
&
rtp_demux
&&
!
strcmp
(
s
->
filename
,
"null"
))
#endif
)
{
must_open_file
=
0
;
must_open_file
=
0
;
}
}
if
(
must_open_file
)
{
if
(
must_open_file
)
{
...
...
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