diff --git a/libavformat/mov.c b/libavformat/mov.c
index 4de976ac089b30ff6fd5b357aa33b652a4cce67e..b325ceb6d790cc1a8a4ba97c5caa2baae383c34b 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -903,11 +903,11 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
                     /* if flag bit 3 is set, use the default palette */
                     color_count = 1 << color_depth;
                     if (color_depth == 2)
-                        color_table = qt_default_palette_4;
+                        color_table = ff_qt_default_palette_4;
                     else if (color_depth == 4)
-                        color_table = qt_default_palette_16;
+                        color_table = ff_qt_default_palette_16;
                     else
-                        color_table = qt_default_palette_256;
+                        color_table = ff_qt_default_palette_256;
 
                     for (j = 0; j < color_count; j++) {
                         r = color_table[j * 4 + 0];
diff --git a/libavformat/qtpalette.h b/libavformat/qtpalette.h
index 18b47c6974a6279a76d3b5903e18c6772e966c6b..d963a82addffac68e0ebbbf507b2e7ff78332f17 100644
--- a/libavformat/qtpalette.h
+++ b/libavformat/qtpalette.h
@@ -7,14 +7,14 @@
 #ifndef QTPALETTE_H
 #define QTPALETTE_H
 
-unsigned char qt_default_palette_4[4 * 4] = {
+unsigned char ff_qt_default_palette_4[4 * 4] = {
   0x93, 0x65, 0x5E, 0x00,
   0xFF, 0xFF, 0xFF, 0x00,
   0xDF, 0xD0, 0xAB, 0x00,
   0x00, 0x00, 0x00, 0x00 
 };
 
-unsigned char qt_default_palette_16[16 * 4] = {
+unsigned char ff_qt_default_palette_16[16 * 4] = {
   0xFF, 0xFB, 0xFF, 0x00,
   0xEF, 0xD9, 0xBB, 0x00,
   0xE8, 0xC9, 0xB1, 0x00,
@@ -33,7 +33,7 @@ unsigned char qt_default_palette_16[16 * 4] = {
   0x00, 0x00, 0x00, 0x00 
 };
 
-unsigned char qt_default_palette_256[256 * 4] = {
+unsigned char ff_qt_default_palette_256[256 * 4] = {
   /*   0, 0x00 */  0xFF, 0xFF, 0xFF, 0x00,
   /*   1, 0x01 */  0xFF, 0xFF, 0xCC, 0x00,
   /*   2, 0x02 */  0xFF, 0xFF, 0x99, 0x00,