# HG changeset patch # User stefano # Date 1262553701 0 # Node ID 8963dc7bb92387002f8b6bc867e3f1c85b6921f2 # Parent 4546d91de818f423ce7a919f5c67b127947be4e7 Document avcodec_pix_fmt_to_codec_tag(). diff -r 4546d91de818 -r 8963dc7bb923 avcodec.h --- a/avcodec.h Sun Jan 03 14:31:25 2010 +0000 +++ b/avcodec.h Sun Jan 03 21:21:41 2010 +0000 @@ -2984,7 +2984,13 @@ * Finally if no pixel format has been found, returns PIX_FMT_NONE. */ enum PixelFormat avcodec_get_pix_fmt(const char* name); -unsigned int avcodec_pix_fmt_to_codec_tag(enum PixelFormat p); + +/** + * Returns a value representing the fourCC code associated to the + * pixel format pix_fmt, or 0 if no associated fourCC code can be + * found. + */ +unsigned int avcodec_pix_fmt_to_codec_tag(enum PixelFormat pix_fmt); #define FF_LOSS_RESOLUTION 0x0001 /**< loss due to resolution change */ #define FF_LOSS_DEPTH 0x0002 /**< loss due to color depth change */