[MPlayer-dev-eng] [PATCH] [RFC] Demuxer cleanup

Roberto Togni r_togni at tiscali.it
Wed Jul 27 00:11:26 CEST 2005


On Tue, 26 Jul 2005 08:57:16 +0200
Nico Sabbi <nsabbi at tiscali.it> wrote:

> Roberto Togni wrote:
> 
[...]
> Hi,
> I really love this patch :)  ,  thanks.
> Every format I tested played fine: mpeg*, avi, ogg, audio formats,
mf://.
> tv:// works fine, too.
> The only segfault I encountered is when using -audiofile (the
unpatched 
> version works fine):

It should be fixed, problem was in new_demuxers_demuxer() that creates a
new demuxer without using the new_demuxer() function, so the desc field
in demuxer_t struct was not filled correctly.
I also moved desc init in new_demuxer(), that should fix a possible bug
in ogg-in-avi.

New patch attached.

Ciao,
 Roberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: demuxer20050726.diff.bz2
Type: application/octet-stream
Size: 20932 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050727/8f5744c1/attachment.obj>


More information about the MPlayer-dev-eng mailing list