diff mbox series

[FFmpeg-devel,10/41] avformat/img2dec: Make ff_img2pipe_options static

Message ID VI1PR0301MB2159ED1C0A34C911C905BC668F0E9@VI1PR0301MB2159.eurprd03.prod.outlook.com
State Accepted
Commit c0a53884ee1e5fef873fa5eb705f3d4a01f31c4e
Headers show
Series [FFmpeg-devel,01/41] avformat/Makefile: Add missing rawdec dependency for IPU demuxer
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt June 17, 2021, 2:31 a.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavformat/img2dec.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c
index aaf2ac362c..55a91ca698 100644
--- a/libavformat/img2dec.c
+++ b/libavformat/img2dec.c
@@ -647,7 +647,7 @@  const AVInputFormat ff_image2_demuxer = {
 };
 #endif
 
-const AVOption ff_img2pipe_options[] = {
+static const AVOption img2pipe_options[] = {
     { "frame_size", "force frame size in bytes", OFFSET(frame_size), AV_OPT_TYPE_INT, {.i64 = 0 }, 0, INT_MAX, DEC },
     COMMON_OPTIONS
 };
@@ -656,7 +656,7 @@  const AVOption ff_img2pipe_options[] = {
 static const AVClass img2pipe_class = {
     .class_name = "image2pipe demuxer",
     .item_name  = av_default_item_name,
-    .option     = ff_img2pipe_options,
+    .option     = img2pipe_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };
 const AVInputFormat ff_image2pipe_demuxer = {
@@ -1109,7 +1109,7 @@  static int photocd_probe(const AVProbeData *p)
 static const AVClass imgname ## _class = {\
     .class_name = AV_STRINGIFY(imgname) " demuxer",\
     .item_name  = av_default_item_name,\
-    .option     = ff_img2pipe_options,\
+    .option     = img2pipe_options,\
     .version    = LIBAVUTIL_VERSION_INT,\
 };\
 const AVInputFormat ff_image_ ## imgname ## _pipe_demuxer = {\