Mercurial > libavformat.hg
changeset 321:5cb0e4cdb864 libavformat
- Add reget_buffer() function to AVCodecContext
- Add default reget_buffer implementation in libavcodec/utils.c
- Remove AVCodecContext.cr_available, no longer needed
- Remove CODEC_CAP_CR, no longer used
- Add img_copy() prototype to avcodec.h (function from imgconvert.c)
- Rename img_copy() to jpeg_img_copy() in libavformat/jpeg.c to avoid
conflict
- Updated msrle, msvideo1, rpza, smc to use reget_buffer
author | rtognimp |
---|---|
date | Wed, 26 Nov 2003 20:57:15 +0000 |
parents | 4b01f2d7a90c |
children | e14ebc79e4bf |
files | jpeg.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/jpeg.c Mon Nov 24 17:59:56 2003 +0000 +++ b/jpeg.c Wed Nov 26 20:57:15 2003 +0000 @@ -68,7 +68,7 @@ } } -static void img_copy(uint8_t *dst, int dst_wrap, +static void jpeg_img_copy(uint8_t *dst, int dst_wrap, uint8_t *src, int src_wrap, int width, int height) { @@ -147,7 +147,7 @@ break; } } - img_copy(picture->data[i], picture->linesize[i], + jpeg_img_copy(picture->data[i], picture->linesize[i], picture1.data[i], picture1.linesize[i], w, h); }