Hi,

Am 23.03.2012 11:42, schrieb IOhannes m zmölnig:
> On 03/19/12 10:45, Burkhard Plaum wrote:
>>
>> Looks like you don't have libmpeg2 installed.
>> In this case gmerlin-avdecoder removes the video stream from the
>> internal structure, so every access to video stream 0 might result in a 
>> crash.
>>
>
> i understood, that this hints at a problem of the host application that
> would do some illegal call to bgav_read_video() or similar when there is
> no video stream present.

If an application does anything with a video stream before calling
bgav_num_video_streams() it is an application bug.

> however, yesterday me and mark did a debugging session on his machine,
> and found that libgmerlin-avdec was crashing in the bgav_open() call.

That would be different and of course I'd like to know where exactly the
crash happens.

The bgav_open() works roughly as follows:

- Open the file
- Detect the file type
- Initialize the demuxer, this will detect all streams.
- Check which streams cannot be decoded and kick them out
   from the internal tables.

Burkhard

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Gmerlin-general mailing list
Gmerlin-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gmerlin-general

Reply via email to