Revision e4141433 libavcodec/aasc.c
libavcodec/aasc.c | ||
---|---|---|
47 | 47 |
|
48 | 48 |
static int aasc_decode_init(AVCodecContext *avctx) |
49 | 49 |
{ |
50 |
AascContext *s = (AascContext *)avctx->priv_data;
|
|
50 |
AascContext *s = avctx->priv_data; |
|
51 | 51 |
|
52 | 52 |
s->avctx = avctx; |
53 | 53 |
|
... | ... | |
61 | 61 |
void *data, int *data_size, |
62 | 62 |
uint8_t *buf, int buf_size) |
63 | 63 |
{ |
64 |
AascContext *s = (AascContext *)avctx->priv_data;
|
|
64 |
AascContext *s = avctx->priv_data; |
|
65 | 65 |
int stream_ptr = 4; |
66 | 66 |
unsigned char rle_code; |
67 | 67 |
unsigned char stream_byte; |
... | ... | |
153 | 153 |
|
154 | 154 |
static int aasc_decode_end(AVCodecContext *avctx) |
155 | 155 |
{ |
156 |
AascContext *s = (AascContext *)avctx->priv_data;
|
|
156 |
AascContext *s = avctx->priv_data; |
|
157 | 157 |
|
158 | 158 |
/* release the last frame */ |
159 | 159 |
if (s->frame.data[0]) |
Also available in: Unified diff