diff options
author | Uoti Urpala <uau@mplayer2.org> | 2011-08-10 23:26:48 +0300 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-08-10 23:26:48 +0300 |
commit | 1cb179855ea4911bc3f4a71bcc8343b26aa367e6 (patch) | |
tree | c32cb486e8466f6480864e261fa223aadeb6a062 | |
parent | ca9065b93fefea57423c376b28de1137c641223c (diff) | |
download | mpv-1cb179855ea4911bc3f4a71bcc8343b26aa367e6.tar.bz2 mpv-1cb179855ea4911bc3f4a71bcc8343b26aa367e6.tar.xz |
dvdnav: fix crash caused by missing line from 58834653c0
The committed version of 58834653c0 ("dvdnav: make
mp_dvdnav_save_smpi() more robust") was somehow missing one line which
caused a crash with dvdnav. Add it back.
-rw-r--r-- | mplayer.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2407,6 +2407,7 @@ static void mp_dvdnav_save_smpi(struct MPContext *mpctx, int in_size, mpctx->nav_buffer = malloc(in_size); if (mpctx->nav_buffer) { mpctx->nav_start = start; + mpctx->nav_in_size = in_size; memcpy(mpctx->nav_buffer, start, in_size); } |