mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
lavf: Constify the probe function argument.
Reviewed-by: Lauri Kasanen Reviewed-by: Tomas Härdin
This commit is contained in:
@@ -38,7 +38,7 @@ typedef struct BRSTMDemuxContext {
|
||||
int little_endian;
|
||||
} BRSTMDemuxContext;
|
||||
|
||||
static int probe(AVProbeData *p)
|
||||
static int probe(const AVProbeData *p)
|
||||
{
|
||||
if (AV_RL32(p->buf) == MKTAG('R','S','T','M') &&
|
||||
(AV_RL16(p->buf + 4) == 0xFFFE ||
|
||||
@@ -47,7 +47,7 @@ static int probe(AVProbeData *p)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int probe_bfstm(AVProbeData *p)
|
||||
static int probe_bfstm(const AVProbeData *p)
|
||||
{
|
||||
if ((AV_RL32(p->buf) == MKTAG('F','S','T','M') ||
|
||||
AV_RL32(p->buf) == MKTAG('C','S','T','M')) &&
|
||||
|
||||
Reference in New Issue
Block a user