[FFmpeg-cvslog] microdvd_probe: make buffer pointers const
Michael Niedermayer
git at videolan.org
Tue Dec 25 02:01:17 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Dec 25 01:50:58 2012 +0100| [9d95deef6128b82468d5d078451d2e7cdfb9ea1f] | committer: Michael Niedermayer
microdvd_probe: make buffer pointers const
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9d95deef6128b82468d5d078451d2e7cdfb9ea1f
---
libavformat/microdvddec.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavformat/microdvddec.c b/libavformat/microdvddec.c
index 68a5d87..5d5b83f 100644
--- a/libavformat/microdvddec.c
+++ b/libavformat/microdvddec.c
@@ -35,7 +35,8 @@ typedef struct {
static int microdvd_probe(AVProbeData *p)
{
- unsigned char c, *ptr = p->buf;
+ unsigned char c;
+ const uint8_t *ptr = p->buf;
int i;
if (AV_RB24(ptr) == 0xEFBBBF)
More information about the ffmpeg-cvslog
mailing list