[FFmpeg-devel] [PATCH] move put_v from nutenc.c and make it public in avio.h and aviobuf.c

Måns Rullgård mans
Thu Jul 8 00:00:56 CEST 2010


Michael Chinen <mchinen at gmail.com> writes:

> --- a/libavformat/avio.h
> +++ b/libavformat/avio.h
> @@ -352,12 +352,12 @@ void put_strz(ByteIOContext *s, const char *buf);
>  /**
>   * Put val using a variable number of bytes.
>   */
> -void put_v(ByteIOContext *bc, uint64_t val);
> +void ff_put_v(ByteIOContext *bc, uint64_t val);
>  
>  /**
>   * Get the length in bytes which is needed to store val as v.
>   */
> -int get_length(uint64_t val);
> +int ff_get_v_length(uint64_t val);

Since this is a public header, wouldn't an av_ prefix be appropriate?

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list