Revision e4141433 libavcodec/lcl.c

View differences:

libavcodec/lcl.c
200 200
 */
201 201
static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)
202 202
{
203
        LclContext * const c = (LclContext *)avctx->priv_data;
203
        LclContext * const c = avctx->priv_data;
204 204
        unsigned char *encoded = (unsigned char *)buf;
205 205
    unsigned int pixel_ptr;
206 206
    int row, col;
......
617 617
 */
618 618
static int decode_init(AVCodecContext *avctx)
619 619
{
620
    LclContext * const c = (LclContext *)avctx->priv_data;
620
    LclContext * const c = avctx->priv_data;
621 621
    unsigned int basesize = avctx->width * avctx->height;
622 622
    unsigned int max_basesize = ((avctx->width + 3) & ~3) * ((avctx->height + 3) & ~3);
623 623
    unsigned int max_decomp_size;
......
852 852
 */
853 853
static int decode_end(AVCodecContext *avctx)
854 854
{
855
        LclContext * const c = (LclContext *)avctx->priv_data;
855
        LclContext * const c = avctx->priv_data;
856 856

  
857 857
        if (c->pic.data[0])
858 858
                avctx->release_buffer(avctx, &c->pic);

Also available in: Unified diff