[FFmpeg-cvslog] Remove stray extra arguments from av_dlog() invocations.

Diego Biurrun git at videolan.org
Fri Jun 3 05:24:56 CEST 2011


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Thu Jun  2 20:40:09 2011 +0200| [b751f611065f1fe1d7216971c4b100c928a3b0d5] | committer: Diego Biurrun

Remove stray extra arguments from av_dlog() invocations.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b751f611065f1fe1d7216971c4b100c928a3b0d5
---

 libavformat/mpeg.c    |    2 +-
 libavformat/mpegenc.c |    2 +-
 libavformat/mpegts.c  |    2 +-
 libavformat/oggdec.c  |   10 ++++------
 4 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index 0b663ab..9850661 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -569,7 +569,7 @@ static int mpegps_read_packet(AVFormatContext *s,
     pkt->dts = dts;
     pkt->pos = dummy_pos;
     pkt->stream_index = st->index;
-    av_dlog(s, AV_LOG_DEBUG, "%d: pts=%0.3f dts=%0.3f size=%d\n",
+    av_dlog(s, "%d: pts=%0.3f dts=%0.3f size=%d\n",
             pkt->stream_index, pkt->pts / 90000.0, pkt->dts / 90000.0,
             pkt->size);
 
diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c
index 28ca1cb..98169ab 100644
--- a/libavformat/mpegenc.c
+++ b/libavformat/mpegenc.c
@@ -1075,7 +1075,7 @@ retry:
                 best_dts= pkt_desc->dts;
         }
 
-        av_dlog(ctx, AV_LOG_DEBUG, "bumping scr, scr:%f, dts:%f\n",
+        av_dlog(ctx, "bumping scr, scr:%f, dts:%f\n",
                 scr / 90000.0, best_dts / 90000.0);
         if(best_dts == INT64_MAX)
             return 0;
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 7c0f381..33675f4 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -1555,7 +1555,7 @@ static int mpegts_read_header(AVFormatContext *s,
         s->bit_rate = (TS_PACKET_SIZE * 8) * 27e6 / ts->pcr_incr;
         st->codec->bit_rate = s->bit_rate;
         st->start_time = ts->cur_pcr;
-        av_dlog(ts->stream, AV_LOG_DEBUG, "start=%0.3f pcr=%0.3f incr=%d\n",
+        av_dlog(ts->stream, "start=%0.3f pcr=%0.3f incr=%d\n",
                 st->start_time / 1000000.0, pcrs[0] / 27e6, ts->pcr_incr);
     }
 
diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c
index 9562ea9..f1ad630 100644
--- a/libavformat/oggdec.c
+++ b/libavformat/oggdec.c
@@ -310,7 +310,7 @@ static int ogg_packet(AVFormatContext *s, int *str, int *dstart, int *dsize,
     int complete = 0;
     int segp = 0, psize = 0;
 
-    av_dlog(s, AV_LOG_DEBUG, "ogg_packet: curidx=%i\n", ogg->curidx);
+    av_dlog(s, "ogg_packet: curidx=%i\n", ogg->curidx);
 
     do{
         idx = ogg->curidx;
@@ -322,8 +322,7 @@ static int ogg_packet(AVFormatContext *s, int *str, int *dstart, int *dsize,
 
         os = ogg->streams + idx;
 
-        av_dlog(s, AV_LOG_DEBUG,
-                "ogg_packet: idx=%d pstart=%d psize=%d segp=%d nsegs=%d\n",
+        av_dlog(s, "ogg_packet: idx=%d pstart=%d psize=%d segp=%d nsegs=%d\n",
                 idx, os->pstart, os->psize, os->segp, os->nsegs);
 
         if (!os->codec){
@@ -356,8 +355,7 @@ static int ogg_packet(AVFormatContext *s, int *str, int *dstart, int *dsize,
         }
     }while (!complete);
 
-    av_dlog(s, AV_LOG_DEBUG,
-            "ogg_packet: idx %i, frame size %i, start %i\n",
+    av_dlog(s, "ogg_packet: idx %i, frame size %i, start %i\n",
             idx, os->psize, os->pstart);
 
     if (os->granule == -1)
@@ -438,7 +436,7 @@ static int ogg_get_headers(AVFormatContext *s)
             return -1;
     }while (!ogg->headers);
 
-    av_dlog(s, AV_LOG_DEBUG, "found headers\n");
+    av_dlog(s, "found headers\n");
 
     return 0;
 }



More information about the ffmpeg-cvslog mailing list