Mercurial > libavformat.hg
diff mpjpeg.c @ 65:a58a8a53eb46 libavformat
* UINTX -> uintx_t INTX -> intx_t
author | kabi |
---|---|
date | Tue, 11 Feb 2003 16:35:48 +0000 |
parents | 45308962220f |
children | 3d92f793fd67 |
line wrap: on
line diff
--- a/mpjpeg.c Mon Feb 10 09:35:32 2003 +0000 +++ b/mpjpeg.c Tue Feb 11 16:35:48 2003 +0000 @@ -24,7 +24,7 @@ static int mpjpeg_write_header(AVFormatContext *s) { - UINT8 buf1[256]; + uint8_t buf1[256]; snprintf(buf1, sizeof(buf1), "--%s\n", BOUNDARY_TAG); put_buffer(&s->pb, buf1, strlen(buf1)); @@ -33,9 +33,9 @@ } static int mpjpeg_write_packet(AVFormatContext *s, int stream_index, - UINT8 *buf, int size, int force_pts) + uint8_t *buf, int size, int force_pts) { - UINT8 buf1[256]; + uint8_t buf1[256]; snprintf(buf1, sizeof(buf1), "Content-type: image/jpeg\n\n"); put_buffer(&s->pb, buf1, strlen(buf1)); @@ -75,7 +75,7 @@ } static int single_jpeg_write_packet(AVFormatContext *s, int stream_index, - UINT8 *buf, int size, int force_pts) + uint8_t *buf, int size, int force_pts) { put_buffer(&s->pb, buf, size); put_flush_packet(&s->pb);