changeset 3359:a38b87a72416 libavformat

use av_hex_dump_log
author bcoudurier
date Mon, 26 May 2008 04:38:46 +0000
parents b3f6a5104280
children c4cb83968a80
files ffmdec.c
diffstat 1 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/ffmdec.c	Mon May 26 04:34:29 2008 +0000
+++ b/ffmdec.c	Mon May 26 04:38:46 2008 +0000
@@ -370,12 +370,7 @@
             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 */