[FFmpeg-cvslog] mpegts: Drop pointless casting of hex_dump_debug arguments

Diego Biurrun git at videolan.org
Tue Oct 2 15:13:13 CEST 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Oct  1 12:47:49 2012 +0200| [15d35bee83f7ace32725ea85044105867657d663] | committer: Diego Biurrun

mpegts: Drop pointless casting of hex_dump_debug arguments

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=15d35bee83f7ace32725ea85044105867657d663
---

 libavformat/mpegts.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 2d9b8a8..4aabcd7 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;



More information about the ffmpeg-cvslog mailing list