summaryrefslogtreecommitdiff
path: root/libavformat/mpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-25 01:50:14 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-25 01:50:14 +0100
commitc3cb338955e71afbdfc0400bc2fa87338eea537c (patch)
tree874534b106368842ed009002b3825c4987c528a6 /libavformat/mpeg.c
parente1f9432644a020d8556c00eccde8d9432db416e4 (diff)
mpegps_probe: make buffer related pointers const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r--libavformat/mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index db8fc1547a..afa8618a60 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -36,7 +36,7 @@
#define MAX_SYNC_SIZE 100000
-static int check_pes(uint8_t *p, uint8_t *end){
+static int check_pes(const uint8_t *p, const uint8_t *end){
int pes1;
int pes2= (p[3] & 0xC0) == 0x80
&& (p[4] & 0xC0) != 0x40