aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-08-30 12:42:42 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-08-30 13:10:11 +0200
commitab800add7b85a7aa9d82e3ad4a7ff81026cfa8e3 (patch)
treeae6eca2d308e93c1d4e102ee0f53c2678310417e
parent845fb3d4a5f48b5e3859c469a84e053346a1af90 (diff)
downloadffmpeg-ab800add7b85a7aa9d82e3ad4a7ff81026cfa8e3.tar.gz
avdevice/libdc1394: Make dc1394_frame_format and dc1394_frame_rate, static
These are not used outside nor are in installed headers Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavdevice/libdc1394.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavdevice/libdc1394.c b/libavdevice/libdc1394.c
index 5f49c5ed02..6868e9ca7b 100644
--- a/libavdevice/libdc1394.c
+++ b/libavdevice/libdc1394.c
@@ -71,7 +71,7 @@ typedef struct dc1394_data {
AVPacket packet;
} dc1394_data;
-struct dc1394_frame_format {
+static const struct dc1394_frame_format {
int width;
int height;
enum AVPixelFormat pix_fmt;
@@ -84,7 +84,7 @@ struct dc1394_frame_format {
{ 0, 0, 0, 0 } /* gotta be the last one */
};
-struct dc1394_frame_rate {
+static const struct dc1394_frame_rate {
int frame_rate;
int frame_rate_id;
} dc1394_frame_rates[] = {