summaryrefslogtreecommitdiffstats
path: root/src/file_mpg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_mpg.c')
-rw-r--r--src/file_mpg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_mpg.c b/src/file_mpg.c
index c0ca71b..03b61d3 100644
--- a/src/file_mpg.c
+++ b/src/file_mpg.c
@@ -42,7 +42,7 @@ const file_hint_t file_hint_mpg= {
.register_header_check=&register_header_check_mpg
};
-static int calculate_packet_size(const unsigned char *buffer)
+static unsigned int calculate_packet_size(const unsigned char *buffer)
{
/* http://dvd.sourceforge.net/dvdinfo/mpeghdrs.html */
if(buffer[0]!=0 || buffer[1]!=0 || buffer[2]!=1)