summaryrefslogtreecommitdiff
path: root/libavcodec/apiexample.c
diff options
context:
space:
mode:
authorZdenek Kabelac <kabi@informatics.muni.cz>2003-02-11 16:35:48 +0000
committerZdenek Kabelac <kabi@informatics.muni.cz>2003-02-11 16:35:48 +0000
commit0c1a9edad463bd6e22b30c19b700b099c7093fc1 (patch)
treed16ccbe29c8dbfc2cdc4e92cac31b22c181ed940 /libavcodec/apiexample.c
parent4596673c062e3834b6d31d1e8e210b64d74ce26b (diff)
* UINTX -> uintx_t INTX -> intx_t
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/apiexample.c')
-rw-r--r--libavcodec/apiexample.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/apiexample.c b/libavcodec/apiexample.c
index 51304e4cef..303082cdbd 100644
--- a/libavcodec/apiexample.c
+++ b/libavcodec/apiexample.c
@@ -28,7 +28,7 @@ void audio_encode_example(const char *filename)
FILE *f;
short *samples;
float t, tincr;
- UINT8 *outbuf;
+ uint8_t *outbuf;
printf("Audio encoding\n");
@@ -94,8 +94,8 @@ void audio_decode_example(const char *outfilename, const char *filename)
AVCodecContext *c= NULL;
int out_size, size, len;
FILE *f, *outfile;
- UINT8 *outbuf;
- UINT8 inbuf[INBUF_SIZE], *inbuf_ptr;
+ uint8_t *outbuf;
+ uint8_t inbuf[INBUF_SIZE], *inbuf_ptr;
printf("Audio decoding\n");
@@ -169,7 +169,7 @@ void video_encode_example(const char *filename)
int i, out_size, size, x, y, outbuf_size;
FILE *f;
AVFrame *picture;
- UINT8 *outbuf, *picture_buf;
+ uint8_t *outbuf, *picture_buf;
printf("Video encoding\n");
@@ -283,7 +283,7 @@ void video_decode_example(const char *outfilename, const char *filename)
int frame, size, got_picture, len;
FILE *f;
AVFrame *picture;
- UINT8 inbuf[INBUF_SIZE], *inbuf_ptr;
+ uint8_t inbuf[INBUF_SIZE], *inbuf_ptr;
char buf[1024];
printf("Video decoding\n");