[FFmpeg-cvslog] lmlm4_probe: make buffer pointers const
Michael Niedermayer
git at videolan.org
Tue Dec 25 02:01:15 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Dec 25 01:45:21 2012 +0100| [29397c99e0a323f20a29f850aa0df192e7a70236] | committer: Michael Niedermayer
lmlm4_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=29397c99e0a323f20a29f850aa0df192e7a70236
---
libavformat/lmlm4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/lmlm4.c b/libavformat/lmlm4.c
index c3eec02..29ee2a3 100644
--- a/libavformat/lmlm4.c
+++ b/libavformat/lmlm4.c
@@ -35,7 +35,7 @@
#define LMLM4_MAX_PACKET_SIZE 1024 * 1024
static int lmlm4_probe(AVProbeData * pd) {
- unsigned char *buf = pd->buf;
+ const unsigned char *buf = pd->buf;
unsigned int frame_type, packet_size;
frame_type = AV_RB16(buf+2);
More information about the ffmpeg-cvslog
mailing list