summaryrefslogtreecommitdiff
path: root/libavformat/rawdec.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-06 13:59:26 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-09-08 22:59:14 +0200
commitcd3d7b0f8f772883a0ab50918548e991750d5851 (patch)
tree781f397810e10c3fa77facdf2c0820fe7e62241e /libavformat/rawdec.c
parent49916dafb955d992160c4778b76099c848a35390 (diff)
avformat/rawdec: Make ff_raw_data_read_header() static
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/rawdec.c')
-rw-r--r--libavformat/rawdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c
index 06406424c8..b7e5a2d966 100644
--- a/libavformat/rawdec.c
+++ b/libavformat/rawdec.c
@@ -102,7 +102,7 @@ int ff_raw_subtitle_read_header(AVFormatContext *s)
return 0;
}
-int ff_raw_data_read_header(AVFormatContext *s)
+static int raw_data_read_header(AVFormatContext *s)
{
AVStream *st = avformat_new_stream(s, NULL);
if (!st)
@@ -148,7 +148,7 @@ const AVClass ff_raw_demuxer_class = {
const AVInputFormat ff_data_demuxer = {
.name = "data",
.long_name = NULL_IF_CONFIG_SMALL("raw data"),
- .read_header = ff_raw_data_read_header,
+ .read_header = raw_data_read_header,
.read_packet = ff_raw_read_partial_packet,
.raw_codec_id = AV_CODEC_ID_NONE,
.flags = AVFMT_NOTIMESTAMPS,