From 1be8d0fbda0a0c2a8cdfcf117cd7670488c868bb Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Tue, 25 Dec 2012 02:57:48 +0100
Subject: [PATCH] srt_probe: make buffer pointer const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
---
 libavformat/srtdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/srtdec.c b/libavformat/srtdec.c
index 0af3714196..cabbb62076 100644
--- a/libavformat/srtdec.c
+++ b/libavformat/srtdec.c
@@ -31,7 +31,7 @@ typedef struct {
 
 static int srt_probe(AVProbeData *p)
 {
-    unsigned char *ptr = p->buf;
+    const unsigned char *ptr = p->buf;
     int i, v, num = 0;
 
     if (AV_RB24(ptr) == 0xEFBBBF)