Mercurial > libavcodec.hg
diff utils.c @ 440:000aeeac27a2 libavcodec
* started to cleanup name clashes for onetime compilation
author | kabi |
---|---|
date | Mon, 27 May 2002 16:42:14 +0000 |
parents | 718a22dc121f |
children | 6f47eef8879f |
line wrap: on
line diff
--- a/utils.c Mon May 27 14:09:10 2002 +0000 +++ b/utils.c Mon May 27 16:42:14 2002 +0000 @@ -518,20 +518,20 @@ } -static int encode_init(AVCodecContext *s) +static int raw_encode_init(AVCodecContext *s) { return 0; } -static int decode_frame(AVCodecContext *avctx, - void *data, int *data_size, - UINT8 *buf, int buf_size) +static int raw_decode_frame(AVCodecContext *avctx, + void *data, int *data_size, + UINT8 *buf, int buf_size) { return -1; } -static int encode_frame(AVCodecContext *avctx, - unsigned char *frame, int buf_size, void *data) +static int raw_encode_frame(AVCodecContext *avctx, + unsigned char *frame, int buf_size, void *data) { return -1; } @@ -541,8 +541,8 @@ CODEC_TYPE_VIDEO, CODEC_ID_RAWVIDEO, 0, - encode_init, - encode_frame, + raw_encode_init, + raw_encode_frame, NULL, - decode_frame, + raw_decode_frame, };