[FFmpeg-cvslog] mxf_probe: make buffer related pointers const
Michael Niedermayer
git at videolan.org
Tue Dec 25 02:01:18 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Dec 25 01:54:20 2012 +0100| [59693ed96cf8568b6b4d946ceda4afd67de3b1b7] | committer: Michael Niedermayer
mxf_probe: make buffer related pointers const
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=59693ed96cf8568b6b4d946ceda4afd67de3b1b7
---
libavformat/mxfdec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index e8ecbd9..0141dd9 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -2273,8 +2273,8 @@ static int mxf_read_close(AVFormatContext *s)
}
static int mxf_probe(AVProbeData *p) {
- uint8_t *bufp = p->buf;
- uint8_t *end = p->buf + p->buf_size;
+ const uint8_t *bufp = p->buf;
+ const uint8_t *end = p->buf + p->buf_size;
if (p->buf_size < sizeof(mxf_header_partition_pack_key))
return 0;
More information about the ffmpeg-cvslog
mailing list