summaryrefslogtreecommitdiff
path: root/ffserver.c
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-12 14:17:26 +0000
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-03-12 14:17:26 +0000
commit750f0e1f8b6c04ca4562a64fd1049f322ba05aa8 (patch)
tree7aa6d486cf256887b2590a004bfde0179749a9d8 /ffserver.c
parent318c5e052415aada4036c382cb0ef243113f667a (diff)
Introduce two new logging functions av_hex_dump_log() and av_pkt_dump_log()
which use av_log() for logging instead of fprintf(). Originally committed as revision 8339 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c
index 899e4b7d8b..83cd4e4cf1 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -3347,7 +3347,7 @@ static void extract_mpeg4_header(AVFormatContext *infile)
if (p[0] == 0x00 && p[1] == 0x00 &&
p[2] == 0x01 && p[3] == 0xb6) {
size = p - pkt.data;
- // av_hex_dump(pkt.data, size);
+ // av_hex_dump_log(infile, AV_LOG_DEBUG, pkt.data, size);
st->codec->extradata = av_malloc(size);
st->codec->extradata_size = size;
memcpy(st->codec->extradata, pkt.data, size);