mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
srt_probe: make buffer pointer const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
9cb887ed37
commit
1be8d0fbda
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ typedef struct {
|
|||
|
||||
static int srt_probe(AVProbeData *p)
|
||||
{
|
||||
unsigned char *ptr = p->buf;
|
||||
const unsigned char *ptr = p->buf;
|
||||
int i, v, num = 0;
|
||||
|
||||
if (AV_RB24(ptr) == 0xEFBBBF)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue