diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-26 16:31:05 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-26 16:31:05 +0000 |
commit | fbfac7fe03ad37e88c95c273b6090f71c8c3c478 (patch) | |
tree | 581a4d83b4746cca8cb39ba9bfded4fd26f4bb07 /CHANGES | |
parent | 8cdfdd40ca0c679573c48305502564c64c1f4cfc (diff) |
- If the source has no audio or no video portion, do not call powerof() to
get the format index.
- Don't run through the audio and video loops if there is no audio or video
portion of the source
If 0 is passed to powerof, it will return -1. This value of -1 was then being
used as an array index in these loops, which caused a crash on some systems.
Other than this issue, this code works as we expected it to. If a format is
not in the source, and we have to translation path to it, it is not offered in
the list of acceptable destination formats.
(fixes issue #8231)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46329 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'CHANGES')
0 files changed, 0 insertions, 0 deletions