OSDN Git Service

lavf: use a fixed width type
authorAnton Khirnov <anton@khirnov.net>
Mon, 13 Jan 2014 10:56:59 +0000 (11:56 +0100)
committerAnton Khirnov <anton@khirnov.net>
Mon, 13 Jan 2014 14:00:09 +0000 (15:00 +0100)
It's shorter and more consistent with the rest of the code.

libavformat/utils.c

index 938f06f..460ec45 100644 (file)
@@ -243,7 +243,7 @@ int av_probe_input_buffer(AVIOContext *pb, AVInputFormat **fmt,
                           unsigned int offset, unsigned int max_probe_size)
 {
     AVProbeData pd = { filename ? filename : "" };
-    unsigned char *buf = NULL;
+    uint8_t *buf = NULL;
     int ret = 0, probe_size;
 
     if (!max_probe_size) {