Re: media.cpp: uncommented code

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

 



Hi Georg,

Not sure which you're referring to, line 1590 is the end of the file.
If you're referring to this:
https://trac.pjsip.org/repos/browser/pjproject/trunk/pjsip/src/pjsua2/media.cpp#L82

Then it looks correct, since format field will be populated by the code 
"format.fromPj(port_info.format);"

Regards,
Ming

On Fri, Sep 16, 2016 at 9:07 AM, Piewald Georg <gpi@xxxxxxxxxxxxxxxxxxxx> wrote:

Hi,

After investigating a problem in my software, I discovered that in media.cpp line 1590, ConfPortInfo::fromPj() there is some commented-out code. However, this code is necessary, otherwise some object members are not initialized. There is no reason given why it is uncommented. Is it simply a bug?

Best regards,

Georg


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

[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