Bug in legacy audio device code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

In pjmedia/src/pjmedia-audiodev/legacy_dev.c the stream_op struct is
defined, but is never used. I believe it should be used to set the op
field of a newly created stream in factory_create_stream function, the
attached patch (against 1.4.5) fixes it.

Also, it looks like the initialization for the legacy audio device is
never performed in audiodev.c, is this by design?

Best regards,
-- 
Jurij Smakov                                           jurij at wooyd.org
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: legacy_dev.patch
Type: text/x-diff
Size: 406 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091115/f016ca5e/attachment.patch>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux