summaryrefslogtreecommitdiff
path: root/libavformat/avs.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2008-12-11 22:34:14 +0000
committerAurelien Jacobs <aurel@gnuage.org>2008-12-11 22:34:14 +0000
commite998ba4fbc680cbdad296eb3d1f3dd474b869bae (patch)
treea4024e86fbbcb30b66555c85db732e7fde47b784 /libavformat/avs.c
parent6da54074010d711d3ce83df5f96bb2d3a228f9ae (diff)
avoid POSIX reserved _t suffix
Originally committed as revision 16067 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avs.c')
-rw-r--r--libavformat/avs.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/libavformat/avs.c b/libavformat/avs.c
index 6fcb230100..1fcb19fdde 100644
--- a/libavformat/avs.c
+++ b/libavformat/avs.c
@@ -24,7 +24,7 @@
typedef struct avs_format {
- voc_dec_context_t voc;
+ VocDecContext voc;
AVStream *st_video;
AVStream *st_audio;
int width;
@@ -34,7 +34,7 @@ typedef struct avs_format {
int nb_frames;
int remaining_frame_size;
int remaining_audio_size;
-} avs_format_t;
+} AvsFormat;
typedef enum avs_block_type {
AVS_NONE = 0x00,
@@ -42,7 +42,7 @@ typedef enum avs_block_type {
AVS_AUDIO = 0x02,
AVS_PALETTE = 0x03,
AVS_GAME_DATA = 0x04,
-} avs_block_type_t;
+} AvsBlockType;
static int avs_probe(AVProbeData * p)
{
@@ -57,7 +57,7 @@ static int avs_probe(AVProbeData * p)
static int avs_read_header(AVFormatContext * s, AVFormatParameters * ap)
{
- avs_format_t *avs = s->priv_data;
+ AvsFormat *avs = s->priv_data;
s->ctx_flags |= AVFMTCTX_NOHEADER;
@@ -82,10 +82,10 @@ static int avs_read_header(AVFormatContext * s, AVFormatParameters * ap)
static int
avs_read_video_packet(AVFormatContext * s, AVPacket * pkt,
- avs_block_type_t type, int sub_type, int size,
+ AvsBlockType type, int sub_type, int size,
uint8_t * palette, int palette_size)
{
- avs_format_t *avs = s->priv_data;
+ AvsFormat *avs = s->priv_data;
int ret;
ret = av_new_packet(pkt, size + palette_size);
@@ -120,7 +120,7 @@ avs_read_video_packet(AVFormatContext * s, AVPacket * pkt,
static int avs_read_audio_packet(AVFormatContext * s, AVPacket * pkt)
{
- avs_format_t *avs = s->priv_data;
+ AvsFormat *avs = s->priv_data;
int ret, size;
size = url_ftell(s->pb);
@@ -141,9 +141,9 @@ static int avs_read_audio_packet(AVFormatContext * s, AVPacket * pkt)
static int avs_read_packet(AVFormatContext * s, AVPacket * pkt)
{
- avs_format_t *avs = s->priv_data;
+ AvsFormat *avs = s->priv_data;
int sub_type = 0, size = 0;
- avs_block_type_t type = AVS_NONE;
+ AvsBlockType type = AVS_NONE;
int palette_size = 0;
uint8_t palette[4 + 3 * 256];
int ret;
@@ -218,7 +218,7 @@ static int avs_read_close(AVFormatContext * s)
AVInputFormat avs_demuxer = {
"avs",
NULL_IF_CONFIG_SMALL("AVS format"),
- sizeof(avs_format_t),
+ sizeof(AvsFormat),
avs_probe,
avs_read_header,
avs_read_packet,