segmentation fault while running decode_mpeg example of libdvbpsi

"anand meher" <[email protected]>
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <[email protected]>
hi everyone,
                  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.


gdb ./decodempeg
GNU gdb 6.5
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-suse-linux"...Using host libthread_db
library "/lib64/libthread_db.so.1".

(gdb) r -f /home/anand/Desktop/just_desktop/bbc.ts
Starting program: /home/anand/workspace/testlibdvdpsi1/build/decodempeg -f
/home/anand/Desktop/just_desktop/bbc.ts

Program received signal SIGSEGV, Segmentation fault.
dvbpsi_DetachPMT (h_dvbpsi=0x0) at tables/pmt.c:103
103                             =
(dvbpsi_pmt_decoder_t*)h_dvbpsi->p_private_decoder;
(gdb) bt
#0  dvbpsi_DetachPMT (h_dvbpsi=0x0) at tables/pmt.c:103
#1  0x0000000000402624 in main ()
(gdb)

_______________________________________________
libdvbpsi-devel mailing list
[email protected]
http://mailman.videolan.org/listinfo/libdvbpsi-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.