diff 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
line wrap: on
line diff
--- a/vp56.h	Sun Feb 25 10:27:12 2007 +0000
+++ b/vp56.h	Sun Feb 25 15:33:38 2007 +0000
@@ -73,6 +73,7 @@
     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;