mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-19 15:15:12 +08:00
lavf: Constify the probe function argument.
Reviewed-by: Lauri Kasanen Reviewed-by: Tomas Härdin
This commit is contained in:
@@ -43,7 +43,7 @@ typedef struct {
|
||||
int frames_per_packet;
|
||||
} Codec2Context;
|
||||
|
||||
static int codec2_probe(AVProbeData *p)
|
||||
static int codec2_probe(const AVProbeData *p)
|
||||
{
|
||||
//must start wih C0 DE C2
|
||||
if (AV_RB24(p->buf) != AVPRIV_CODEC2_MAGIC) {
|
||||
|
Reference in New Issue
Block a user