Mercurial > mplayer.hg
view vidix/README @ 18708:9e2b300db17b
Change free_sh_audio() to take demuxer and stream id as parameters
(same as new_sh_audio()) instead of sh_audio_t *, use those to remove
the pointer from demuxer->a_streams[] before freeing it.
Some demuxers use free_sh_audio() to undo the creation of an
already-allocated audio stream in case of error. These uses were unsafe
since free_sh_audio() freed the data structure but left the pointer in
demuxer->a_streams[], leading to double free later in free_demuxer()
(and perhaps use of the freed stream before that, I didn't check).
author | uau |
---|---|
date | Wed, 14 Jun 2006 14:05:59 +0000 |
parents | e8b0a1742428 |
children | 920a210b7fdc |
line wrap: on
line source
VIDIX - Video Interface for *niX. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This library was designed and introduced as interface to userspace drivers to provide DGA everywhere where it's possible (unline X11). I hope that these drivers will be portable same as X11 (not only on *nix). For detail on how to develop new driver see main/DOCS/tech/vidix.txt IMPORTANT: These are NOT linux kernel drivers. If you are looking for the mga_vid linux kernel drivers, please cd ../drivers thanks.