diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-19 18:56:01 +0200 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-04-27 11:48:05 -0300 |
commit | d92f38c179591a608390ffa9fee59c309142e79d (patch) | |
tree | 5a19f61c32bc9010b0ed319a8ef625aa41f87ba9 /libavdevice/v4l2enc.c | |
parent | a04ad248a05e7b613abe09b3bb067f555108d794 (diff) | |
download | ffmpeg-d92f38c179591a608390ffa9fee59c309142e79d.tar.gz |
avdevice: Constify all devices
This is possible now that the next-API is gone.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavdevice/v4l2enc.c')
-rw-r--r-- | libavdevice/v4l2enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/v4l2enc.c b/libavdevice/v4l2enc.c index 6e5cb88491..787fe53547 100644 --- a/libavdevice/v4l2enc.c +++ b/libavdevice/v4l2enc.c @@ -109,7 +109,7 @@ static const AVClass v4l2_class = { .category = AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT, }; -AVOutputFormat ff_v4l2_muxer = { +const AVOutputFormat ff_v4l2_muxer = { .name = "video4linux2,v4l2", .long_name = NULL_IF_CONFIG_SMALL("Video4Linux2 output device"), .priv_data_size = sizeof(V4L2Context), |