Mercurial > libavformat.hg
changeset 4995:de114ffe75df libavformat
print reg desc in a more friendly way
author | bcoudurier |
---|---|
date | Sun, 31 May 2009 04:47:30 +0000 |
parents | ff7a17eb7670 |
children | 9d88db925e05 |
files | mpegts.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mpegts.c Sun May 31 04:45:51 2009 +0000 +++ b/mpegts.c Sun May 31 04:47:30 2009 +0000 @@ -709,7 +709,7 @@ break; case 0x05: /* registration descriptor */ st->codec->codec_tag = bytestream_get_le32(&p); - dprintf(ts->stream, "reg_desc=%x\n", st->codec->codec_tag); + dprintf(ts->stream, "reg_desc=%.4s\n", (char*)&st->codec->codec_tag); if (st->codec->codec_id == CODEC_ID_PROBE && stream_type == STREAM_TYPE_PRIVATE_DATA) mpegts_find_stream_type(st, st->codec->codec_tag, REGD_types);