comparison searching.c @ 314:ba9c3555e92f src

in dvdnav_describe_title_chapters() init *times to NULL, so if something fails we don't leave the ptr uninited
author nicodvb
date Thu, 29 Nov 2007 23:09:59 +0000
parents 152e19b2b6a1
children 9abc06e356ff
comparison
equal deleted inserted replaced
313:152e19b2b6a1 314:ba9c3555e92f
559 ifo_handle_t *ifo; 559 ifo_handle_t *ifo;
560 pgc_t *pgc; 560 pgc_t *pgc;
561 cell_playback_t *cell; 561 cell_playback_t *cell;
562 uint64_t length, *tmp=NULL; 562 uint64_t length, *tmp=NULL;
563 563
564 *times = NULL;
564 pthread_mutex_lock(&this->vm_lock); 565 pthread_mutex_lock(&this->vm_lock);
565 if(!this->vm->vmgi) { 566 if(!this->vm->vmgi) {
566 printerr("Bad VM state or missing VTSI."); 567 printerr("Bad VM state or missing VTSI.");
567 goto fail; 568 goto fail;
568 } 569 }