Commit 16ce6750 authored by Simon Morlat's avatar Simon Morlat

fix unitialized value in alsa.c

parent 6250d36e
...@@ -771,6 +771,7 @@ void alsa_read_init(MSFilter *obj){ ...@@ -771,6 +771,7 @@ void alsa_read_init(MSFilter *obj){
ad->handle=NULL; ad->handle=NULL;
ad->rate=forced_rate!=-1 ? forced_rate : 8000; ad->rate=forced_rate!=-1 ? forced_rate : 8000;
ad->nchannels=1; ad->nchannels=1;
ad->av_skew=0;
obj->data=ad; obj->data=ad;
#ifdef THREADED_VERSION #ifdef THREADED_VERSION
......
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