mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
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>
This commit is contained in:
@@ -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[] = {
|
||||
|
||||
Reference in New Issue
Block a user