diff options
author | Josh Allmann <joshua.allmann@gmail.com> | 2010-03-22 14:57:50 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-03-22 14:57:50 +0000 |
commit | d6461900c9d664c2f4c856846b3ec38701e39459 (patch) | |
tree | d405fa11e74b3eca2de4788941fdd35d09c1e536 /libavcodec | |
parent | 9dff2308ba5d844e8e8453e9cc1b0c2b487a9aad (diff) | |
download | ffmpeg-d6461900c9d664c2f4c856846b3ec38701e39459.tar.gz |
Add doxygen docs for av_xiphlacing
Patch by Josh Allmann (joshua allmann gmail com)
Originally committed as revision 22632 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 43a0695508..18048f45be 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3784,6 +3784,13 @@ int av_picture_crop(AVPicture *dst, const AVPicture *src, int av_picture_pad(AVPicture *dst, const AVPicture *src, int height, int width, enum PixelFormat pix_fmt, int padtop, int padbottom, int padleft, int padright, int *color); +/** + * Encodes extradata length to a buffer. Used by xiph codecs. + * + * @param s buffer to write to; must be at least (v/255+1) bytes long + * @param v size of extradata in bytes + * @return number of bytes written to the buffer. + */ unsigned int av_xiphlacing(unsigned char *s, unsigned int v); /** |