On 15/01/13 00:39, Diego Biurrun wrote:
> ---
> 
> This is likely incorrect, but I'm sending it nonetheless to troll
> somebody into coming up with a better fix.  Right now this is
> triggering build failures on some FATE configs due to not always
> returning a value from a non-void function.
> 
>  libavformat/nutdec.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
> index b705987..cee411b 100644
> --- a/libavformat/nutdec.c
> +++ b/libavformat/nutdec.c
> @@ -910,7 +910,7 @@ static int64_t nut_read_timestamp(AVFormatContext *s, int 
> stream_index,
>      else if (stream_index == -2)
>          return back_ptr;
>  
> -    assert(0);
> +    return AV_NOPTS_VALUE;
>  }
>  

Should be impossible thus the assert, I'll look later in the week...

lu

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to