diff rm.c @ 65:a58a8a53eb46 libavformat

* UINTX -> uintx_t INTX -> intx_t
author kabi
date Tue, 11 Feb 2003 16:35:48 +0000
parents 3eff1f2dcf71
children 25062c9b1f86
line wrap: on
line diff
--- a/rm.c	Mon Feb 10 09:35:32 2003 +0000
+++ b/rm.c	Tue Feb 11 16:35:48 2003 +0000
@@ -322,16 +322,16 @@
     return 0;
 }
 
-static int rm_write_audio(AVFormatContext *s, UINT8 *buf, int size)
+static int rm_write_audio(AVFormatContext *s, uint8_t *buf, int size)
 {
-    UINT8 *buf1;
+    uint8_t *buf1;
     RMContext *rm = s->priv_data;
     ByteIOContext *pb = &s->pb;
     StreamInfo *stream = rm->audio_stream;
     int i;
 
     /* XXX: suppress this malloc */
-    buf1= (UINT8*) av_malloc( size * sizeof(UINT8) );
+    buf1= (uint8_t*) av_malloc( size * sizeof(uint8_t) );
     
     write_packet_header(s, stream, size, stream->enc->coded_frame->key_frame);
     
@@ -347,7 +347,7 @@
     return 0;
 }
 
-static int rm_write_video(AVFormatContext *s, UINT8 *buf, int size)
+static int rm_write_video(AVFormatContext *s, uint8_t *buf, int size)
 {
     RMContext *rm = s->priv_data;
     ByteIOContext *pb = &s->pb;
@@ -388,7 +388,7 @@
 }
 
 static int rm_write_packet(AVFormatContext *s, int stream_index, 
-                           UINT8 *buf, int size, int force_pts)
+                           uint8_t *buf, int size, int force_pts)
 {
     if (s->streams[stream_index]->codec.codec_type == 
         CODEC_TYPE_AUDIO)
@@ -472,7 +472,7 @@
     ByteIOContext *pb = &s->pb;
     unsigned int tag, v;
     int tag_size, size, codec_data_size, i;
-    INT64 codec_pos;
+    int64_t codec_pos;
     unsigned int h263_hack_version;
     char buf[128];
     int flags = 0;
@@ -650,7 +650,7 @@
     ByteIOContext *pb = &s->pb;
     AVStream *st;
     int len, num, timestamp, i, tmp, j;
-    UINT8 *ptr;
+    uint8_t *ptr;
     int flags;
 
  redo: