[vlc-devel] commit: qtcapture: const a struct. (Derk-Jan Hartman )

git version control git at videolan.org
Sun Aug 3 13:18:51 CEST 2008


vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Sun Aug  3 13:21:01 2008 +0200| [1348f88f18e27faf3db10cba02d1f6e6fc51431e] | committer: Derk-Jan Hartman 

qtcapture: const a struct.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1348f88f18e27faf3db10cba02d1f6e6fc51431e
---

 modules/access/qtcapture.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/qtcapture.m b/modules/access/qtcapture.m
index eac2e6f..e4f190b 100644
--- a/modules/access/qtcapture.m
+++ b/modules/access/qtcapture.m
@@ -163,7 +163,7 @@ struct demux_sys_t {
 *****************************************************************************/
 static int qtchroma_to_fourcc( int i_qt )
 {
-    static struct
+    static const struct
     {
         unsigned int i_qt;
         int i_fourcc;




More information about the vlc-devel mailing list