[FFmpeg-cvslog] lavf/adp: Fix the probe function on systems with signed char.

Carl Eugen Hoyos git at videolan.org
Mon Oct 9 04:01:47 EEST 2017


ffmpeg | branch: master | Carl Eugen Hoyos <ceffmpeg at gmail.com> | Sun Oct  8 23:41:14 2017 +0200| [14b15539398f5b7f72686e60c664fed1518bc20d] | committer: Carl Eugen Hoyos

lavf/adp: Fix the probe function on systems with signed char.

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

 libavformat/adp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/adp.c b/libavformat/adp.c
index 735550307e..3914857ad5 100644
--- a/libavformat/adp.c
+++ b/libavformat/adp.c
@@ -27,7 +27,7 @@
 static int adp_probe(AVProbeData *p)
 {
     int i, changes = 0;
-    char last = 0;
+    uint8_t last = 0;
 
     if (p->buf_size < 32)
         return 0;



More information about the ffmpeg-cvslog mailing list