diff options
author | wm4 <wm4@nowhere> | 2013-07-24 19:47:22 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-24 19:47:22 +0200 |
commit | 3f04bf2722bacf2fadd409b30f7dc548ca249847 (patch) | |
tree | 29ddec65d1a48c6683b2f02f2e147c4bec158312 /demux | |
parent | 202b9e8069c3eeb7fba6cc8ed27d0e7e14c4ab6d (diff) |
demux_libass: actually set priv context
This was a memory leak: the ASS_Track was never deallocated.
Diffstat (limited to 'demux')
-rw-r--r-- | demux/demux_libass.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demux/demux_libass.c b/demux/demux_libass.c index 1dc8e92eb0..fc30f1dce5 100644 --- a/demux/demux_libass.c +++ b/demux/demux_libass.c @@ -94,6 +94,7 @@ static int d_check_file(struct demuxer *demuxer, enum demux_check check) *p = (struct priv) { .track = track, }; + demuxer->priv = p; struct sh_stream *sh = new_sh_stream(demuxer, STREAM_SUB); sh->sub->track = track; |