# HG changeset patch # User voroshil # Date 1185704405 0 # Node ID b341311b8b21a07484542c6363e5fcb1ef882e5c # Parent d65439444b75898ced9f849d224003e7bb07e767 Removing global variables from tv:// Step 3: removing references to old globals from tvi_bsdbt848.c diff -r d65439444b75 -r b341311b8b21 stream/tvi_bsdbt848.c --- a/stream/tvi_bsdbt848.c Sun Jul 29 10:18:38 2007 +0000 +++ b/stream/tvi_bsdbt848.c Sun Jul 29 10:20:05 2007 +0000 @@ -410,7 +410,7 @@ #ifdef BT848_SAUDIO if(priv->tunerready == TRUE && - ioctl(priv->tunerfd, BT848_SAUDIO, &tv_param_audio_id) < 0) + ioctl(priv->tunerfd, BT848_SAUDIO, &priv->tv_param->audio_id) < 0) { perror("audioid:ioctl"); }