use av_hex_dump_log
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Mon, 26 May 2008 04:38:46 +0000 (04:38 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Mon, 26 May 2008 04:38:46 +0000 (04:38 +0000)
Originally committed as revision 13424 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/ffmdec.c

index 02f4cde..c67016a 100644 (file)
@@ -370,12 +370,7 @@ static int ffm_read_packet(AVFormatContext *s, AVPacket *pkt)
             FRAME_HEADER_SIZE)
             return AVERROR(EAGAIN);
 #if 0
-        {
-            int i;
-            for(i=0;i<FRAME_HEADER_SIZE;i++)
-                printf("%02x ", ffm->header[i]);
-            printf("\n");
-        }
+        av_hexdump_log(s, AV_LOG_DEBUG, ffm->header, FRAME_HEADER_SIZE);
 #endif
         ffm->read_state = READ_DATA;
         /* fall thru */