mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-26 23:58:17 +00:00
memset non initialized data
git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@635 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
parent
a170417519
commit
dfba571a38
1 changed files with 2 additions and 0 deletions
|
|
@ -221,6 +221,8 @@ static void player_process(MSFilter *f){
|
|||
if (err>=0){
|
||||
if (err!=0){
|
||||
om->b_wptr+=bytes;
|
||||
if (err<bytes)
|
||||
memset(om->b_wptr+err,0,bytes-err);
|
||||
ms_queue_put(f->outputs[0],om);
|
||||
}else freemsg(om);
|
||||
if (err<bytes){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue