On dom, apr 27, 2014 at 02:36:41 +0200, Luca Barbato wrote:
> On 27/04/14 14:13, Alessandro Ghedini wrote:
> > From: Michael Niedermayer <[email protected]>
> > 
> > ---
> >  libavcodec/vc1dec.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
> > index 9825924..ccba35b 100644
> > --- a/libavcodec/vc1dec.c
> > +++ b/libavcodec/vc1dec.c
> > @@ -5941,6 +5941,7 @@ static int vc1_decode_frame(AVCodecContext *avctx, 
> > void *data,
> >  
> >      /* skip B-frames if we don't have reference frames */
> >      if (s->last_picture_ptr == NULL && (s->pict_type == AV_PICTURE_TYPE_B 
> > || s->droppable)) {
> > +        av_log(v->s.avctx, AV_LOG_DEBUG, "Skipping B frame without 
> > reference frames\n");
> >          goto end;
> >      }
> >      if ((avctx->skip_frame >= AVDISCARD_NONREF && s->pict_type == 
> > AV_PICTURE_TYPE_B) ||
> > 
> 
> There is another similar condition below w/out any message

Do you mean the if just below, or the if (s->next_p_frame_damaged) one?

> and I'm not so sure DEBUG is the correct level anyway.

What about VERBOSE?
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to