[mythtv] [PATCH] mythfrontend segfault fix

Mike Isely isely at isely.net
Mon Dec 27 00:11:59 UTC 2004


On Sun, 26 Dec 2004, Shane Shrybman wrote:
>
> It does look broken when you quote it like that. :) Here is the whole
> Nugget. We only need to check if audioOutput exists once don't we?
>
> -    if (normal_speed)
> +    if (normal_speed && audioOutput)
>      {
>          audioOutput->SetStretchFactor(play_speed);
>  #ifdef USING_DIRECTX
> -        if (audioOutput)
> -            audioOutput->Reset();
> +        audioOutput->Reset();
>  #endif
>      }
>
> Shane
>

Point well taken.  Doh!!

  -Mike


-- 
                        |         Mike Isely          |     PGP fingerprint
     Spammers Die!!     |                             | 03 54 43 4D 75 E5 CC 92
                        |   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1 E8
                        |                             |


More information about the mythtv-dev mailing list