diff avienc.c @ 65:a58a8a53eb46 libavformat

* UINTX -> uintx_t INTX -> intx_t
author kabi
date Tue, 11 Feb 2003 16:35:48 +0000
parents 2aa6e12c82fc
children 78bec272ce3a
line wrap: on
line diff
--- a/avienc.c	Mon Feb 10 09:35:32 2003 +0000
+++ b/avienc.c	Tue Feb 11 16:35:48 2003 +0000
@@ -49,7 +49,7 @@
 
     pos = url_ftell(pb);
     url_fseek(pb, start - 4, SEEK_SET);
-    put_le32(pb, (UINT32)(pos - start));
+    put_le32(pb, (uint32_t)(pos - start));
     url_fseek(pb, pos, SEEK_SET);
 }
 
@@ -211,7 +211,7 @@
     nb_frames = 0;
 
     if(video_enc){
-    put_le32(pb, (UINT32)(INT64_C(1000000) * FRAME_RATE_BASE / video_enc->frame_rate));
+    put_le32(pb, (uint32_t)(int64_t_C(1000000) * FRAME_RATE_BASE / video_enc->frame_rate));
     } else {
 	put_le32(pb, 0);
     }
@@ -320,7 +320,7 @@
 }
 
 static int avi_write_packet(AVFormatContext *s, int stream_index,
-                            UINT8 *buf, int size, int force_pts)
+                            uint8_t *buf, int size, int force_pts)
 {
     AVIContext *avi = s->priv_data;
     ByteIOContext *pb = &s->pb;
@@ -395,7 +395,7 @@
         /* update file size */
         file_size = url_ftell(pb);
         url_fseek(pb, 4, SEEK_SET);
-        put_le32(pb, (UINT32)(file_size - 8));
+        put_le32(pb, (uint32_t)(file_size - 8));
 
         /* Fill in frame/sample counters */
         nb_frames = 0;