comparison mmf.c @ 3871:e6aeb2733e34 libavformat

Replace generic CONFIG_MUXERS preprocessor conditionals by more specific CONFIG_FOO_MUXER conditionals where appropriate.
author diego
date Tue, 02 Sep 2008 22:45:13 +0000
parents 93d4898d9b6e
children 1d3d17de20ba
comparison
equal deleted inserted replaced
3870:97a01cb166f5 3871:e6aeb2733e34
34 if((code < 0) || (code > 4)) 34 if((code < 0) || (code > 4))
35 return -1; 35 return -1;
36 return mmf_rates[code]; 36 return mmf_rates[code];
37 } 37 }
38 38
39 #ifdef CONFIG_MUXERS 39 #ifdef CONFIG_MMF_MUXER
40 static int mmf_rate_code(int rate) 40 static int mmf_rate_code(int rate)
41 { 41 {
42 int i; 42 int i;
43 for(i = 0; i < 5; i++) 43 for(i = 0; i < 5; i++)
44 if(mmf_rates[i] == rate) 44 if(mmf_rates[i] == rate)
161 161
162 put_flush_packet(pb); 162 put_flush_packet(pb);
163 } 163 }
164 return 0; 164 return 0;
165 } 165 }
166 #endif //CONFIG_MUXERS 166 #endif /* CONFIG_MMF_MUXER */
167 167
168 static int mmf_probe(AVProbeData *p) 168 static int mmf_probe(AVProbeData *p)
169 { 169 {
170 /* check file header */ 170 /* check file header */
171 if (p->buf[0] == 'M' && p->buf[1] == 'M' && 171 if (p->buf[0] == 'M' && p->buf[1] == 'M' &&