Mercurial > libavcodec.hg
comparison vp56.h @ 4595:340c876320eb libavcodec
Use pointers to avoid copying AVFrame.
This ensure get_buffer() won't be confused with an AVFrame pointer
which looks like it wasn't released.
author | aurel |
---|---|
date | Sun, 25 Feb 2007 15:33:38 +0000 |
parents | d3dcf62d52c5 |
children | bff60ecc02f9 |
comparison
equal
deleted
inserted
replaced
4594:a96d905dcbaa | 4595:340c876320eb |
---|---|
71 struct vp56_context { | 71 struct vp56_context { |
72 AVCodecContext *avctx; | 72 AVCodecContext *avctx; |
73 DSPContext dsp; | 73 DSPContext dsp; |
74 ScanTable scantable; | 74 ScanTable scantable; |
75 AVFrame frames[3]; | 75 AVFrame frames[3]; |
76 AVFrame *framep[4]; | |
76 uint8_t *edge_emu_buffer_alloc; | 77 uint8_t *edge_emu_buffer_alloc; |
77 uint8_t *edge_emu_buffer; | 78 uint8_t *edge_emu_buffer; |
78 vp56_range_coder_t c; | 79 vp56_range_coder_t c; |
79 vp56_range_coder_t cc; | 80 vp56_range_coder_t cc; |
80 vp56_range_coder_t *ccp; | 81 vp56_range_coder_t *ccp; |