diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-07-03 20:04:21 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-07-03 20:04:21 +0300 |
commit | c5364305bec6dff4566b988157b93d3d171465e3 (patch) | |
tree | 13e28a781e2e1f4699b4caffff0d61e2ef079187 /mplayer.c | |
parent | 774bb252aa0bda6a6ef927cd9287b0a6c01da0e6 (diff) | |
download | mpv-c5364305bec6dff4566b988157b93d3d171465e3.tar.bz2 mpv-c5364305bec6dff4566b988157b93d3d171465e3.tar.xz |
commands: change property mechanism to use talloc strings
Diffstat (limited to 'mplayer.c')
-rw-r--r-- | mplayer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3308,7 +3308,7 @@ char *chapter_display_name(struct MPContext *mpctx, int chapter) { if (!mpctx->chapters || !mpctx->sh_video) return demuxer_chapter_display_name(mpctx->demuxer, chapter); - return strdup(mpctx->chapters[chapter].name); + return talloc_strdup(NULL, mpctx->chapters[chapter].name); } int seek_chapter(struct MPContext *mpctx, int chapter, double *seek_pts, |