On Sun, Jul 03, 2011 at 16:42:13 (CEST), Diego Biurrun wrote:

> ---
>  libavformat/internal.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libavformat/internal.h b/libavformat/internal.h
> index 30faa00..aba890d 100644
> --- a/libavformat/internal.h
> +++ b/libavformat/internal.h
> @@ -157,14 +157,14 @@ void ff_put_v(AVIOContext *bc, uint64_t val);
>  
>  /**
>   * Read a whole line of text from AVIOContext. Stop reading after reaching
> - * either a \n, a \0 or EOF. The returned string is always \0 terminated,
> + * either a \\n, a \\0 or EOF. The returned string is always \\0-terminated,
>   * and may be truncated if the buffer is too small.
>   *
>   * @param s the read-only AVIOContext
>   * @param buf buffer to store the read line
>   * @param maxlen size of the buffer
>   * @return the length of the string written in the buffer, not including the
> - *         final \0
> + *         final \\0
>   */
>  int ff_get_line(AVIOContext *s, char *buf, int maxlen);

Indeed, at least html output is broken without this.
-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to