winegstreamer: Remove a condition which is always true.

Andrew Eikum aeikum at codeweavers.com
Tue Jun 7 08:59:27 CDT 2016


Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>

On Tue, Jun 07, 2016 at 08:12:22PM +0800, Zhenbo Li wrote:
> 
> Signed-off-by: Zhenbo Li <litimetal at gmail.com>
> ---
>  dlls/winegstreamer/gstdemux.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> 

> diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
> index 92804e3..1de9b41 100644
> --- a/dlls/winegstreamer/gstdemux.c
> +++ b/dlls/winegstreamer/gstdemux.c
> @@ -1962,8 +1962,9 @@ static HRESULT WINAPI GSTInPin_ReceiveConnection(IPin *iface, IPin *pReceivePin,
>          props.cbAlign = 1;
>          props.cbPrefix = 0;
>  
> -        if (SUCCEEDED(hr) && IPin_QueryAccept(iface, pmt) != S_OK)
> +        if (IPin_QueryAccept(iface, pmt) != S_OK)
>              hr = VFW_E_TYPE_NOT_ACCEPTED;
> +
>          if (SUCCEEDED(hr)) {
>              IPin_QueryDirection(pReceivePin, &pindirReceive);
>              if (pindirReceive != PINDIR_OUTPUT) {
> 

> 




More information about the wine-patches mailing list