summaryrefslogtreecommitdiff
path: root/libavformat/sapdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-25 03:11:32 +0100
committerJames Almer <jamrial@gmail.com>2021-04-27 10:43:08 -0300
commit56450a0ee4fdda160f4039fc2ae33edfd27765c9 (patch)
treea7566fa8dba9d38e4c748db1d1e673aee09c5244 /libavformat/sapdec.c
parentf0c7fa2c484e197dae05fbda70a15b5e2ce81e9a (diff)
downloadffmpeg-56450a0ee4fdda160f4039fc2ae33edfd27765c9.tar.gz
avformat: Constify the API wrt AV(In|Out)putFormat
Also constify AVProbeData. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/sapdec.c')
-rw-r--r--libavformat/sapdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sapdec.c b/libavformat/sapdec.c
index eec73aa2f4..3014bdaa97 100644
--- a/libavformat/sapdec.c
+++ b/libavformat/sapdec.c
@@ -65,9 +65,9 @@ static int sap_read_header(AVFormatContext *s)
struct SAPState *sap = s->priv_data;
char host[1024], path[1024], url[1024];
uint8_t recvbuf[RTP_MAX_PACKET_LENGTH];
+ const AVInputFormat *infmt;
int port;
int ret, i;
- ff_const59 AVInputFormat* infmt;
if (!ff_network_init())
return AVERROR(EIO);