[FFmpeg-devel] [PATCH 2/2] Comment out last use of FF_DEBUG_GENPTS.
Michael Niedermayer
michael at niedermayer.cc
Mon Aug 17 23:51:38 CEST 2015
On Mon, Aug 17, 2015 at 05:22:46PM -0400, Ronald S. Bultje wrote:
> 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.
agree
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150817/28c4ebf3/attachment.sig>
More information about the ffmpeg-devel
mailing list