Diego Biurrun <[email protected]> writes:

> ---
>  libavcodec/bink.c     |    2 +-
>  libavformat/network.h |    3 ++-
>  2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/libavcodec/bink.c b/libavcodec/bink.c
> index 34d4d10..e085aa5 100644
> --- a/libavcodec/bink.c
> +++ b/libavcodec/bink.c
> @@ -1208,7 +1208,7 @@ static int decode_frame(AVCodecContext *avctx, void 
> *data, int *data_size, AVPac
>  /**
>   * Caclulate quantization tables for version b
>   */
> -static av_cold void binkb_calc_quant()
> +static av_cold void binkb_calc_quant(void)
>  {
>      uint8_t inv_bink_scan[64];
>      double s[64];
> diff --git a/libavformat/network.h b/libavformat/network.h
> index 881384c..db8466c 100644
> --- a/libavformat/network.h
> +++ b/libavformat/network.h
> @@ -33,7 +33,8 @@
>  #define ECONNREFUSED    WSAECONNREFUSED
>  #define EINPROGRESS     WSAEINPROGRESS
>  
> -static inline int ff_neterrno() {
> +static inline int ff_neterrno(void)
> +{
>      int err = WSAGetLastError();
>      switch (err) {
>      case WSAEWOULDBLOCK:
> -- 

Looks OK.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to