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
460f7449
Commit
460f7449
authored
Sep 19, 2019
by
Ross Nicholson
Committed by
Aman Gupta
Sep 27, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libavformat/rtsp: return error if rtsp_hd_out is null instead of crash
Signed-off-by:
Aman Gupta
<
aman@tmm1.net
>
parent
0686651a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
rtsp.c
libavformat/rtsp.c
+3
-0
No files found.
libavformat/rtsp.c
View file @
460f7449
...
@@ -1318,6 +1318,9 @@ static int rtsp_send_cmd_with_content_async(AVFormatContext *s,
...
@@ -1318,6 +1318,9 @@ static int rtsp_send_cmd_with_content_async(AVFormatContext *s,
char
buf
[
4096
],
*
out_buf
;
char
buf
[
4096
],
*
out_buf
;
char
base64buf
[
AV_BASE64_SIZE
(
sizeof
(
buf
))];
char
base64buf
[
AV_BASE64_SIZE
(
sizeof
(
buf
))];
if
(
!
rt
->
rtsp_hd_out
)
return
ENOTCONN
;
/* Add in RTSP headers */
/* Add in RTSP headers */
out_buf
=
buf
;
out_buf
=
buf
;
rt
->
seq
++
;
rt
->
seq
++
;
...
...
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