Re: [libav-devel] [PATCH 23/25] intrax8: Keep a reference to the decoder blocks

2016-03-22 Thread Diego Biurrun
On Sat, Mar 19, 2016 at 05:42:54PM -0400, Vittorio Giovara wrote: > --- a/libavcodec/intrax8.h > +++ b/libavcodec/intrax8.h > @@ -37,6 +37,8 @@ typedef struct IntraX8Context { > ScanTable scantable[3]; > AVCodecContext *avctx; > +int *block_last_index; ///< last non zero coefficient

[libav-devel] [PATCH 23/25] intrax8: Keep a reference to the decoder blocks

2016-03-19 Thread Vittorio Giovara
--- libavcodec/intrax8.c | 31 --- libavcodec/intrax8.h | 6 ++ libavcodec/vc1dec.c | 1 + libavcodec/wmv2dec.c | 1 + 4 files changed, 24 insertions(+), 15 deletions(-) As with a previous patch, I prefer to reference the existing fields, to make sure that it