mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-13 19:05:37 +00:00
mpegps_probe: make buffer related pointers const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e1f9432644
commit
c3cb338955
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue