[FFmpeg-devel] [PATCH] Add the function libavcodec/utils.c:avcodec_type_string

Diego Biurrun diego
Thu Nov 8 16:43:15 CET 2007


On Thu, Nov 08, 2007 at 04:18:48PM +0100, Stefano Sabatini wrote:
> 
> suggested log: $subject.
> 
> Well, I know it's stupid, nonetheless I find myself writing this
> little function again and again in applications (especially when
> I'm trying to do some debugging).
> 
> Also bumps micro version since it adds a function to the external api.
> 
> --- libavcodec/avcodec.h	(revision 10959)
> +++ libavcodec/avcodec.h	(working copy)
> @@ -2477,6 +2477,18 @@
>  
> + * @param buf[in] Buffer where to write the string.

Buffer to write the string into.

> + * @param buf_size[in] Size in bytes of \p buf.

size of \p buf in bytes 

> + * @param codec_type[in] Code of the codec type. Values actually supported are:

Supported values are

Look up the meaning of actually again, it's not what you seem to think.

Diego




More information about the ffmpeg-devel mailing list