Re: Bugfixes for examples/decode_mpeg.c
Jean-Paul Saman <[email protected]>
| Newsgroups | gmane.comp.video.videolan.libdvbpsi.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Dec 31, 2009 at 12:04 PM, Bernhard Ehlers <[email protected]> wrote: > I'm new to the libdvbpsi and started looking at the example programs. > > All but one were working as expected, but decode_mpeg gave me some > headaches. > I used a file with transport stream data and all I got was "Segmentation > fault" > > So I had a closer look at the source and found several errors (svn diff at > the end of this mail): > > - line 518-523: argument flag for long options should be set > - line 603: filename is in variable filename, not in pa_argv[1] > - line 609 and new code after line 616: give usage message if neither > filename nor ipaddress is used > - line 761: check if p_stream->pmt.handle is set before calling > dvbpsi_DetachPMT. > Otherwise if no PMT was found, the programm aborts. Patch merged (had to do it manually against current head). Thanks for contributing. Gtz, Jean-Paul Saman _______________________________________________ libdvbpsi-devel mailing list [email protected] http://mailman.videolan.org/listinfo/libdvbpsi-devel