Revision e4141433 libavcodec/kmvc.c
libavcodec/kmvc.c | ||
---|---|---|
228 | 228 |
static int decode_frame(AVCodecContext * avctx, void *data, int *data_size, uint8_t * buf, |
229 | 229 |
int buf_size) |
230 | 230 |
{ |
231 |
KmvcContext *const ctx = (KmvcContext *) avctx->priv_data;
|
|
231 |
KmvcContext *const ctx = avctx->priv_data; |
|
232 | 232 |
uint8_t *out, *src; |
233 | 233 |
int i; |
234 | 234 |
int header; |
... | ... | |
342 | 342 |
*/ |
343 | 343 |
static int decode_init(AVCodecContext * avctx) |
344 | 344 |
{ |
345 |
KmvcContext *const c = (KmvcContext *) avctx->priv_data;
|
|
345 |
KmvcContext *const c = avctx->priv_data; |
|
346 | 346 |
int i; |
347 | 347 |
|
348 | 348 |
c->avctx = avctx; |
... | ... | |
394 | 394 |
*/ |
395 | 395 |
static int decode_end(AVCodecContext * avctx) |
396 | 396 |
{ |
397 |
KmvcContext *const c = (KmvcContext *) avctx->priv_data;
|
|
397 |
KmvcContext *const c = avctx->priv_data; |
|
398 | 398 |
|
399 | 399 |
av_freep(&c->frm0); |
400 | 400 |
av_freep(&c->frm1); |
Also available in: Unified diff