comparison libmpdemux/yuv4mpeg.c @ 24859:f9495196e2d8

Disable function that is only used in disabled code, fixes warning: yuv4mpeg.c:147: warning: 'y4m_snprint_xtags' defined but not used
author diego
date Tue, 30 Oct 2007 08:06:39 +0000
parents 36589811e5d0
children 0c1db5fd3f79
comparison
equal deleted inserted replaced
24858:ca10b24479ff 24859:f9495196e2d8
141 dest->count = src->count; 141 dest->count = src->count;
142 } 142 }
143 143
144 144
145 145
146 #if 0
146 static int y4m_snprint_xtags(char *s, int maxn, y4m_xtag_list_t *xtags) 147 static int y4m_snprint_xtags(char *s, int maxn, y4m_xtag_list_t *xtags)
147 { 148 {
148 int i, room; 149 int i, room;
149 150
150 for (i = 0, room = maxn - 1; i < xtags->count; i++) { 151 for (i = 0, room = maxn - 1; i < xtags->count; i++) {
155 } 156 }
156 s[0] = '\n'; /* finish off header with newline */ 157 s[0] = '\n'; /* finish off header with newline */
157 s[1] = '\0'; /* ...and end-of-string */ 158 s[1] = '\0'; /* ...and end-of-string */
158 return Y4M_OK; 159 return Y4M_OK;
159 } 160 }
161 #endif
160 162
161 163
162 int y4m_xtag_count(const y4m_xtag_list_t *xtags) 164 int y4m_xtag_count(const y4m_xtag_list_t *xtags)
163 { 165 {
164 return xtags->count; 166 return xtags->count;