Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
531
Issue boards
Milestones
Wiki
Code
Merge requests
15
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Merge requests
!1755
Fix crash where MediaWrapper filename is null
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Fix crash where MediaWrapper filename is null
Aza/vlc-android:crash_fix
into
master
Overview
1
Commits
1
Pipelines
1
Changes
1
Closed
Nicolas Pomepuy
requested to merge
Aza/vlc-android:crash_fix
into
master
1 year ago
Overview
1
Commits
1
Pipelines
1
Changes
1
Expand
Fixes
#2977
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
33f1f085
1 commit,
1 year ago
1 file
+
4
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
medialibrary/src/org/videolan/medialibrary/interfaces/media/MediaWrapper.java
+
4
−
1
Options
@@ -444,8 +444,11 @@ public abstract class MediaWrapper extends MediaLibraryItem implements Parcelabl
if
(
mFilename
==
null
)
{
if
(
mUri
==
null
)
mFilename
=
""
;
else
else
if
(
mUri
.
getLastPathSegment
()
!=
null
)
{
mFilename
=
mUri
.
getLastPathSegment
();
}
else
{
mFilename
=
mUri
.
toString
();
}
}
return
mFilename
;
}
Loading