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
26524e35
Commit
26524e35
authored
Feb 23, 2015
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rtsp: Interpret the text media type as AVMEDIA_TYPE_DATA
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
ce52869c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
rtsp.c
libavformat/rtsp.c
+1
-1
No files found.
libavformat/rtsp.c
View file @
26524e35
...
...
@@ -393,7 +393,7 @@ static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1,
codec_type
=
AVMEDIA_TYPE_AUDIO
;
}
else
if
(
!
strcmp
(
st_type
,
"video"
))
{
codec_type
=
AVMEDIA_TYPE_VIDEO
;
}
else
if
(
!
strcmp
(
st_type
,
"application"
))
{
}
else
if
(
!
strcmp
(
st_type
,
"application"
)
||
!
strcmp
(
st_type
,
"text"
)
)
{
codec_type
=
AVMEDIA_TYPE_DATA
;
}
if
(
codec_type
==
AVMEDIA_TYPE_UNKNOWN
||
!
(
rt
->
media_type_mask
&
(
1
<<
codec_type
)))
{
...
...
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