Commit c3cb3389 authored by Michael Niedermayer's avatar Michael Niedermayer

mpegps_probe: make buffer related pointers const

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e1f94326
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment