On Mon, 01 Dec 2014 14:09:20 +0100
Anton Khirnov <[email protected]> wrote:

> Quoting wm4 (2014-12-01 13:53:29)
> > ---
> > I did not expect that it would crash. And why should it? So just make it 
> > work.
> > ---
> >  libavcodec/utils.c | 3 +++
> >  1 file changed, 3 insertions(+)
> > 
> > diff --git a/libavcodec/utils.c b/libavcodec/utils.c
> > index 8cbd47b..e2d9096 100644
> > --- a/libavcodec/utils.c
> > +++ b/libavcodec/utils.c
> > @@ -2079,6 +2079,9 @@ const char *avcodec_license(void)
> >  
> >  void avcodec_flush_buffers(AVCodecContext *avctx)
> >  {
> > +    if (!avctx->internal)
> 
> Calling avcodec_is_open() would be cleaner.
> 
> Otherwise I suppose it's ok.
> 

Should I microbump and add a notice to the doxy?
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to