Mercurial > mplayer.hg
view mp-opt-reg.c @ 7358:bb40478265df
I experienced several segfaults when trying to play (unencrypted) DVDs
from harddisk using xine/ogle/mplayer with the respective libdvdnav
support feature.
I found that while libdvdnav itself may do something wrong by trying
to read beyond the end of the files, it was actually the fault of libdvdread
that a segfault resulted. The following tiny patch fixes the problem
and it seems that libdvdnav can very well live with the "short read"
result it gets then - navigation worked fine after applying the patch:
patch by Peter Niemayer <niemayer@isg.de> & H}kan Hjort <d95hjort@dtek.chalmers.se>
author | arpi |
---|---|
date | Tue, 10 Sep 2002 20:33:31 +0000 |
parents | b65b78640d49 |
children |
line wrap: on
line source
#include "config.h" #include <stdlib.h> #include <stdio.h> #include "cfgparser.h" extern void mp_input_register_options(m_config_t* cfg); extern void libmpdemux_register_options(m_config_t* cfg); extern void libvo_register_options(m_config_t* cfg); void mp_register_options(m_config_t* cfg) { mp_input_register_options(cfg); libmpdemux_register_options(cfg); libvo_register_options(cfg); }