<div dir="ltr">hi everyone,<br> i have a segmentation fault when running the decode_mpeg.c example of libdvbpsi, i ran a gdb and the error detected is as follows. i am giving a transport stream file as input.<br>
<br><br>gdb ./decodempeg<br>GNU gdb 6.5<br>Copyright (C) 2006 Free Software Foundation, Inc.<br>GDB is free software, covered by the GNU General Public License, and you are<br>welcome to change it and/or distribute copies of it under certain conditions.<br>
Type "show copying" to see the conditions.<br>There is absolutely no warranty for GDB. Type "show warranty" for details.<br>This GDB was configured as "x86_64-suse-linux"...Using host libthread_db library "/lib64/libthread_db.so.1".<br>
<br>(gdb) r -f /home/anand/Desktop/just_desktop/bbc.ts<br>Starting program: /home/anand/workspace/testlibdvdpsi1/build/decodempeg -f /home/anand/Desktop/just_desktop/bbc.ts<br><br>Program received signal SIGSEGV, Segmentation fault.<br>
dvbpsi_DetachPMT (h_dvbpsi=0x0) at tables/pmt.c:103<br>103 = (dvbpsi_pmt_decoder_t*)h_dvbpsi->p_private_decoder;<br>(gdb) bt<br>#0 dvbpsi_DetachPMT (h_dvbpsi=0x0) at tables/pmt.c:103<br>#1 0x0000000000402624 in main ()<br>
(gdb) <br><br> <br><br></div>