diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-05-31 04:47:30 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-05-31 04:47:30 +0000 |
commit | 1f07654330b1bbe3a75a0b0273cf004bfe2781a1 (patch) | |
tree | 47577af4028c3cc3315b5471c6a4c1ff9ff13049 /libavformat/mpegts.c | |
parent | ad183ff4e2b017deced0d8853648c4d584a96cf4 (diff) | |
download | ffmpeg-1f07654330b1bbe3a75a0b0273cf004bfe2781a1.tar.gz |
print reg desc in a more friendly way
Originally committed as revision 19021 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpegts.c')
-rw-r--r-- | libavformat/mpegts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 0c1ca81b83..e78510f203 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -709,7 +709,7 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len 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); |