diff apiexample.c @ 1064:b32afefe7d33 libavcodec

* UINTX -> uintx_t INTX -> intx_t
author kabi
date Tue, 11 Feb 2003 16:35:48 +0000
parents 890b9fb44e84
children 1e39f273ecd6
line wrap: on
line diff
--- a/apiexample.c	Mon Feb 10 22:43:30 2003 +0000
+++ b/apiexample.c	Tue Feb 11 16:35:48 2003 +0000
@@ -28,7 +28,7 @@
     FILE *f;
     short *samples;
     float t, tincr;
-    UINT8 *outbuf;
+    uint8_t *outbuf;
 
     printf("Audio encoding\n");
 
@@ -94,8 +94,8 @@
     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 @@
     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 @@
     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");