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

diff --git a/libavformat/ac3dec.c b/libavformat/ac3dec.c
index 4ceffa5..5079bc4 100644
--- a/libavformat/ac3dec.c
+++ b/libavformat/ac3dec.c
@@ -61,7 +61,7 @@ static int ac3_eac3_probe(AVProbeData *p, enum AVCodecID 
expected_codec_id)
 
     if (max_frames) {
         int pes = 0, i;
-        unsigned int code = -1;
+        unsigned int code = UINT_MAX;
 
 #define VIDEO_ID 0x000001e0
 #define AUDIO_ID 0x000001c0
-- 
1.9.1

_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to