Commit dfba571a authored by aymeric's avatar aymeric
Browse files

memset non initialized data

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@635 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent a1704175
......@@ -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){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment