[vlc-commits] aout: fix assertion on error path from transcode
Rémi Denis-Courmont
git at videolan.org
Sat May 24 06:46:04 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 24 12:45:16 2014 +0800| [585c2bc3dee951323af1c1a7040db053527df8e1] | committer: Rémi Denis-Courmont
aout: fix assertion on error path from transcode
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=585c2bc3dee951323af1c1a7040db053527df8e1
---
src/audio_output/filters.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/audio_output/filters.c b/src/audio_output/filters.c
index 8af9cf0..e6a6955 100644
--- a/src/audio_output/filters.c
+++ b/src/audio_output/filters.c
@@ -475,7 +475,8 @@ aout_filters_t *aout_FiltersNew (vlc_object_t *obj,
error:
aout_FiltersPipelineDestroy (filters->tab, filters->count);
- var_DelCallback (obj, "visual", VisualizationCallback, NULL);
+ if (request_vout != NULL)
+ var_DelCallback (obj, "visual", VisualizationCallback, NULL);
free (filters);
return NULL;
}
More information about the vlc-commits
mailing list