[FFmpeg-cvslog] srt_probe: make buffer pointer const
Michael Niedermayer
git at videolan.org
Tue Dec 25 03:21:09 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Dec 25 02:57:48 2012 +0100| [1be8d0fbda0a0c2a8cdfcf117cd7670488c868bb] | committer: Michael Niedermayer
srt_probe: make buffer pointer const
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1be8d0fbda0a0c2a8cdfcf117cd7670488c868bb
---
libavformat/srtdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/srtdec.c b/libavformat/srtdec.c
index 0af3714..cabbb62 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)
More information about the ffmpeg-cvslog
mailing list