diff options
author | Roberto Togni <r_togni@tiscali.it> | 2003-11-26 20:57:15 +0000 |
---|---|---|
committer | Roberto Togni <r_togni@tiscali.it> | 2003-11-26 20:57:15 +0000 |
commit | e1c2a5a0a8e9f8a4e68a33f31d4a917771bbc1bb (patch) | |
tree | 55a2328310433ac4589cf42db5a3aa57a5880101 /libavformat/jpeg.c | |
parent | 9bc8b38660a18e1aa2717d3724bd9c03da3fe6fc (diff) | |
download | ffmpeg-e1c2a5a0a8e9f8a4e68a33f31d4a917771bbc1bb.tar.gz |
- 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
Originally committed as revision 2531 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/jpeg.c')
-rw-r--r-- | libavformat/jpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/jpeg.c b/libavformat/jpeg.c index c0b7b3b65e..d922d6c73a 100644 --- a/libavformat/jpeg.c +++ b/libavformat/jpeg.c @@ -68,7 +68,7 @@ static int jpeg_get_buffer(AVCodecContext *c, AVFrame *picture) } } -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 @@ static int jpeg_read(ByteIOContext *f, 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); } |