summaryrefslogtreecommitdiff
path: root/libavcodec/vp56.h
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-02-25 15:33:38 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-02-25 15:33:38 +0000
commit704a2881bc7787592889a5c3d48ef4ce8398214d (patch)
tree6ca547f61957190d13f5ecfc2b5fec0e404afd7c /libavcodec/vp56.h
parent950d94ad3b232d6e4ee1ad1a1f60364f8e0dfbda (diff)
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. Originally committed as revision 8124 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp56.h')
-rw-r--r--libavcodec/vp56.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vp56.h b/libavcodec/vp56.h
index 50e2015504..fb8bbba6fc 100644
--- a/libavcodec/vp56.h
+++ b/libavcodec/vp56.h
@@ -73,6 +73,7 @@ struct vp56_context {
DSPContext dsp;
ScanTable scantable;
AVFrame frames[3];
+ AVFrame *framep[4];
uint8_t *edge_emu_buffer_alloc;
uint8_t *edge_emu_buffer;
vp56_range_coder_t c;