[SCM] libav/experimental: use dprintf

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:21:55 UTC 2013


The following commit has been merged in the experimental branch:
commit ff978de47c977b7a85ebb040c804f6ca22552966
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Mon May 26 04:34:29 2008 +0000

    use dprintf
    
    Originally committed as revision 13423 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c
index 2b9fbd4..02f4cde 100644
--- a/libavformat/ffmdec.c
+++ b/libavformat/ffmdec.c
@@ -364,10 +364,8 @@ static int ffm_read_packet(AVFormatContext *s, AVPacket *pkt)
         if (!ffm_is_avail_data(s, FRAME_HEADER_SIZE)) {
             return AVERROR(EAGAIN);
         }
-#if 0
-        printf("pos=%08"PRIx64" spos=%"PRIx64", write_index=%"PRIx64" size=%"PRIx64"\n",
+        dprintf(s, "pos=%08"PRIx64" spos=%"PRIx64", write_index=%"PRIx64" size=%"PRIx64"\n",
                url_ftell(s->pb), s->pb.pos, ffm->write_index, ffm->file_size);
-#endif
         if (ffm_read_data(s, ffm->header, FRAME_HEADER_SIZE, 1) !=
             FRAME_HEADER_SIZE)
             return AVERROR(EAGAIN);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list