[FFmpeg-cvslog] avdevice/libdc1394: Make dc1394_frame_format and dc1394_frame_rate, static
Michael Niedermayer
git at videolan.org
Sun Aug 30 13:26:36 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sun Aug 30 12:42:42 2015 +0200| [ab800add7b85a7aa9d82e3ad4a7ff81026cfa8e3] | committer: 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: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ab800add7b85a7aa9d82e3ad4a7ff81026cfa8e3
---
libavdevice/libdc1394.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavdevice/libdc1394.c b/libavdevice/libdc1394.c
index 5f49c5e..6868e9c 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[] = {
More information about the ffmpeg-cvslog
mailing list