Revision e4141433 libavcodec/zmbv.c

View differences:

libavcodec/zmbv.c
399 399

  
400 400
static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
401 401
{
402
    ZmbvContext * const c = (ZmbvContext *)avctx->priv_data;
402
    ZmbvContext * const c = avctx->priv_data;
403 403
    uint8_t *outptr;
404 404
#ifdef CONFIG_ZLIB
405 405
    int zret = Z_OK; // Zlib return code
......
608 608
 */
609 609
static int decode_init(AVCodecContext *avctx)
610 610
{
611
    ZmbvContext * const c = (ZmbvContext *)avctx->priv_data;
611
    ZmbvContext * const c = avctx->priv_data;
612 612
    int zret; // Zlib return code
613 613

  
614 614
    c->avctx = avctx;
......
663 663
 */
664 664
static int decode_end(AVCodecContext *avctx)
665 665
{
666
    ZmbvContext * const c = (ZmbvContext *)avctx->priv_data;
666
    ZmbvContext * const c = avctx->priv_data;
667 667

  
668 668
    av_freep(&c->decomp_buf);
669 669

  

Also available in: Unified diff