summaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorDiego Pettenò <flameeyes@gmail.com>2008-01-07 12:42:02 +0000
committerBenoit Fouet <benoit.fouet@free.fr>2008-01-07 12:42:02 +0000
commit1411f55b6306505a5ba3fa255dcd6c800429ab68 (patch)
tree0d25de61643a3fcc2707dcde72b46858086dba58 /libavdevice
parentb2a9177017b426e782198a7b3f8ffd478bbfa323 (diff)
downloadffmpeg-streaming-1411f55b6306505a5ba3fa255dcd6c800429ab68.zip
ffmpeg-streaming-1411f55b6306505a5ba3fa255dcd6c800429ab68.tar.gz
Make v4l.c's video_formats constant and static.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com Originally committed as revision 11443 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/v4l.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/v4l.c b/libavdevice/v4l.c
index d9dc635..5d57a2b 100644
--- a/libavdevice/v4l.c
+++ b/libavdevice/v4l.c
@@ -46,7 +46,7 @@ typedef struct {
int gb_frame;
} VideoData;
-struct {
+static const struct {
int palette;
int depth;
enum PixelFormat pix_fmt;
OpenPOWER on IntegriCloud