mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
845fb3d4a5
commit
ab800add7b
|
@ -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 {
|
||||||
{ 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[] = {
|
||||||
|
|
Loading…
Reference in New Issue