Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FFmpeg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libremedia
Tethys
FFmpeg
Commits
aeb2de1c
Commit
aeb2de1c
authored
14 years ago
by
Martin Storsjo
Committed by
Janne Grunau
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
rtsp: Use ff_rtsp_undo_setup in the cleanup code in ff_rtsp_make_request
Signed-off-by:
Janne Grunau
<
janne-ffmpeg@jannau.net
>
parent
93e7490e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libavformat/rtsp.c
+1
-6
1 addition, 6 deletions
libavformat/rtsp.c
with
1 addition
and
6 deletions
libavformat/rtsp.c
+
1
−
6
View file @
aeb2de1c
...
@@ -1271,12 +1271,7 @@ int ff_rtsp_make_setup_request(AVFormatContext *s, const char *host, int port,
...
@@ -1271,12 +1271,7 @@ int ff_rtsp_make_setup_request(AVFormatContext *s, const char *host, int port,
return
0
;
return
0
;
fail:
fail:
for
(
i
=
0
;
i
<
rt
->
nb_rtsp_streams
;
i
++
)
{
ff_rtsp_undo_setup
(
s
);
if
(
rt
->
rtsp_streams
[
i
]
->
rtp_handle
)
{
url_close
(
rt
->
rtsp_streams
[
i
]
->
rtp_handle
);
rt
->
rtsp_streams
[
i
]
->
rtp_handle
=
NULL
;
}
}
return
err
;
return
err
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment