Commit ab800add authored by Michael Niedermayer's avatar Michael Niedermayer

avdevice/libdc1394: Make dc1394_frame_format and dc1394_frame_rate, static

These are not used outside nor are in installed headers
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 845fb3d4
...@@ -71,7 +71,7 @@ typedef struct dc1394_data { ...@@ -71,7 +71,7 @@ typedef struct dc1394_data {
AVPacket packet; AVPacket packet;
} dc1394_data; } dc1394_data;
struct dc1394_frame_format { static const struct dc1394_frame_format {
int width; int width;
int height; int height;
enum AVPixelFormat pix_fmt; enum AVPixelFormat pix_fmt;
...@@ -84,7 +84,7 @@ struct dc1394_frame_format { ...@@ -84,7 +84,7 @@ struct dc1394_frame_format {
{ 0, 0, 0, 0 } /* gotta be the last one */ { 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;
int frame_rate_id; int frame_rate_id;
} dc1394_frame_rates[] = { } dc1394_frame_rates[] = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment