Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-25 05:57:48 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-12-25 05:57:48 +0400
commit1be8d0fbda0a0c2a8cdfcf117cd7670488c868bb (patch)
treebb5ed4a5b35273dbfc9892ac13a5887d5ffeec63 /libavformat/srtdec.c
parent9cb887ed3773a0dfb5b8e59fe503c263316392b0 (diff)
srt_probe: make buffer pointer const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/srtdec.c')
-rw-r--r--libavformat/srtdec.c2
1 files changed, 1 insertions, 1 deletions
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)