summaryrefslogtreecommitdiff
path: root/libavcodec/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 /libavcodec/avs.c
parent6da54074010d711d3ce83df5f96bb2d3a228f9ae (diff)
avoid POSIX reserved _t suffix
Originally committed as revision 16067 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avs.c')
-rw-r--r--libavcodec/avs.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavcodec/avs.c b/libavcodec/avs.c
index c60fe63e33..3b29c853b4 100644
--- a/libavcodec/avs.c
+++ b/libavcodec/avs.c
@@ -25,35 +25,35 @@
typedef struct {
AVFrame picture;
-} avs_context_t;
+} AvsContext;
typedef enum {
AVS_VIDEO = 0x01,
AVS_AUDIO = 0x02,
AVS_PALETTE = 0x03,
AVS_GAME_DATA = 0x04,
-} avs_block_type_t;
+} AvsBlockType;
typedef enum {
AVS_I_FRAME = 0x00,
AVS_P_FRAME_3X3 = 0x01,
AVS_P_FRAME_2X2 = 0x02,
AVS_P_FRAME_2X3 = 0x03,
-} avs_video_sub_type_t;
+} AvsVideoSubType;
static int
avs_decode_frame(AVCodecContext * avctx,
void *data, int *data_size, const uint8_t * buf, int buf_size)
{
- avs_context_t *const avs = avctx->priv_data;
+ AvsContext *const avs = avctx->priv_data;
AVFrame *picture = data;
AVFrame *const p = (AVFrame *) & avs->picture;
const uint8_t *table, *vect;
uint8_t *out;
int i, j, x, y, stride, vect_w = 3, vect_h = 3;
- int sub_type;
- avs_block_type_t type;
+ AvsVideoSubType sub_type;
+ AvsBlockType type;
GetBitContext change_map;
if (avctx->reget_buffer(avctx, p)) {
@@ -152,7 +152,7 @@ AVCodec avs_decoder = {
"avs",
CODEC_TYPE_VIDEO,
CODEC_ID_AVS,
- sizeof(avs_context_t),
+ sizeof(AvsContext),
avs_decode_init,
NULL,
NULL,