[FFmpeg-devel] [PATCH 2/2] Comment out last use of FF_DEBUG_GENPTS.
Ronald S. Bultje
rsbultje at gmail.com
Mon Aug 17 23:22:46 CEST 2015
Hi,
On Mon, Aug 17, 2015 at 5:17 PM, Michael Niedermayer <michael at niedermayer.cc
> wrote:
> On Mon, Aug 17, 2015 at 03:41:04PM -0400, Ronald S. Bultje wrote:
> > ---
> > libavcodec/mpeg4videodec.c | 4 +---
> > 1 file changed, 1 insertion(+), 3 deletions(-)
> >
> > diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
> > index 55ce5d8..d716626 100644
> > --- a/libavcodec/mpeg4videodec.c
> > +++ b/libavcodec/mpeg4videodec.c
> > @@ -2320,9 +2320,7 @@ static int decode_vop_header(Mpeg4DecContext *ctx,
> GetBitContext *gb)
> > pts = ROUNDED_DIV(s->time, s->avctx->framerate.den);
> > else
> > pts = AV_NOPTS_VALUE;
> > - if (s->avctx->debug&FF_DEBUG_PTS)
> > - av_log(s->avctx, AV_LOG_DEBUG, "MPEG4 PTS: %"PRId64"\n",
> > - pts);
> > + //av_log(s->avctx, AV_LOG_DEBUG, "MPEG4 PTS: %"PRId64"\n", pts);
>
> subj: [FFmpeg-devel] [PATCH 2/2] Comment out last use of FF_DEBUG_GENPTS.
> ^^^
> typo
Oh right.
So, now that I've discovered ff_dlog, how about I remove the if and make
this a ff_dlog()? Then at least it keeps existing.
Ronald
More information about the ffmpeg-devel
mailing list