From 15d35bee83f7ace32725ea85044105867657d663 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 1 Oct 2012 12:47:49 +0200 Subject: mpegts: Drop pointless casting of hex_dump_debug arguments --- libavformat/mpegts.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavformat/mpegts.c') diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 2d9b8a8358..4aabcd7e60 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -1381,7 +1381,7 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len int i; av_dlog(ts->stream, "PMT: len %i\n", section_len); - hex_dump_debug(ts->stream, (uint8_t *)section, section_len); + hex_dump_debug(ts->stream, section, section_len); p_end = section + section_len - 4; p = section; @@ -1518,7 +1518,7 @@ static void pat_cb(MpegTSFilter *filter, const uint8_t *section, int section_len int sid, pmt_pid; av_dlog(ts->stream, "PAT:\n"); - hex_dump_debug(ts->stream, (uint8_t *)section, section_len); + hex_dump_debug(ts->stream, section, section_len); p_end = section + section_len - 4; p = section; @@ -1562,7 +1562,7 @@ static void sdt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len char *name, *provider_name; av_dlog(ts->stream, "SDT:\n"); - hex_dump_debug(ts->stream, (uint8_t *)section, section_len); + hex_dump_debug(ts->stream, section, section_len); p_end = section + section_len - 4; p = section; -- cgit v1.2.3