Logo Search packages:      
Sourcecode: blender version File versions

static int decode_end ( AVCodecContext avctx  )  [static]

closes decoder

avctx codec context
0 on success or negative if fails

Definition at line 227 of file fraps.c.

References FrapsContext::frame, AVCodecContext::priv_data, and AVCodecContext::release_buffer.

    FrapsContext *s = (FrapsContext*)avctx->priv_data;

    if (s->frame.data[0])
        avctx->release_buffer(avctx, &s->frame);

    return 0;

Generated by  Doxygen 1.6.0   Back to index