You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
srt_probe: make buffer pointer const
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user