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