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.
This commit is contained in:
Uoti Urpala 2011-08-10 23:26:48 +03:00
parent ca9065b93f
commit 1cb179855e
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}