diff options
author | Zdenek Kabelac <kabi@informatics.muni.cz> | 2003-02-11 16:35:48 +0000 |
---|---|---|
committer | Zdenek Kabelac <kabi@informatics.muni.cz> | 2003-02-11 16:35:48 +0000 |
commit | 0c1a9edad463bd6e22b30c19b700b099c7093fc1 (patch) | |
tree | d16ccbe29c8dbfc2cdc4e92cac31b22c181ed940 /libavformat/avienc.c | |
parent | 4596673c062e3834b6d31d1e8e210b64d74ce26b (diff) | |
download | ffmpeg-0c1a9edad463bd6e22b30c19b700b099c7093fc1.tar.gz |
* UINTX -> uintx_t INTX -> intx_t
Originally committed as revision 1578 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avienc.c')
-rw-r--r-- | libavformat/avienc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c index b2face1d46..9b930f346a 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -49,7 +49,7 @@ void end_tag(ByteIOContext *pb, offset_t start) 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 @@ static int avi_write_header(AVFormatContext *s) 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_header(AVFormatContext *s) } 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 @@ static int avi_write_trailer(AVFormatContext *s) /* 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; |