summaryrefslogtreecommitdiffstats
path: root/stream/stream_file.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-08-16 16:18:51 +0200
committerwm4 <wm4@nowhere>2012-08-16 17:16:08 +0200
commit1b7b0c93a875d76573cc44bb0fe92e7bd5a7a366 (patch)
tree375574bff6d7133076a742bc7501e05574fbe7b2 /stream/stream_file.c
parent850f2b4511608e4b19f15c645416d962ec5e1af1 (diff)
downloadmpv-1b7b0c93a875d76573cc44bb0fe92e7bd5a7a366.tar.bz2
mpv-1b7b0c93a875d76573cc44bb0fe92e7bd5a7a366.tar.xz
video_out: fix crash when VO autoselection fails
init_best_video_out() did not manage the memory for vo->window_title correctly, and free'd it twice when initialization failed (that's due to talloc_free_children() being called). When the next VO was tried, it reused the dangling pointer. Initialize this member somewhere else lazily instead.
Diffstat (limited to 'stream/stream_file.c')
0 files changed, 0 insertions, 0 deletions