On Thu, Apr 3, 2014 at 6:25 PM, Janne Grunau <[email protected]> wrote: > Fixes NULL pointer dereference with disabled threading. Should be > squashed. > --- > libavcodec/utils.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/utils.c b/libavcodec/utils.c > index e04f455..d9832e2 100644 > --- a/libavcodec/utils.c > +++ b/libavcodec/utils.c > @@ -2292,7 +2292,8 @@ int ff_thread_get_buffer(AVCodecContext *avctx, > ThreadFrame *f, int flags) > > void ff_thread_release_buffer(AVCodecContext *avctx, ThreadFrame *f) > { > - av_frame_unref(f->f); > + if (f->f) > + av_frame_unref(f->f); > } >
Ok, thanks for the fix -- Vittorio _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
