On 2013-02-19 08:24:14 +0100, Anton Khirnov wrote: > > On Mon, 18 Feb 2013 13:09:37 +0100, Janne Grunau <[email protected]> > wrote: > > On 2013-01-08 15:37:54 +0100, Anton Khirnov wrote: > > > --- > > > libavcodec/ffv1.c | 5 +---- > > > libavcodec/ffv1.h | 2 ++ > > > libavcodec/ffv1dec.c | 48 > > > ++++++++++++++++++++++-------------------------- > > > 3 files changed, 25 insertions(+), 30 deletions(-) > > > > > > diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c > > > index 682d111..d67485f 100644 > > > --- a/libavcodec/ffv1.c > > > +++ b/libavcodec/ffv1.c > > > @@ -267,10 +267,7 @@ av_cold int ffv1_close(AVCodecContext *avctx) > > > FFV1Context *s = avctx->priv_data; > > > int i, j; > > > > > > - if (avctx->codec->decode && s->picture.data[0]) > > > - avctx->release_buffer(avctx, &s->picture); > > > > what about picture? it is still used by the decoder > > > > No, only by the encoder from what i can see.
err brainfart on my side. I ment the encoder and I see now the check for being in the decoder. nevermind. Janne _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
