Mercurial > libavcodec.hg
comparison libamr.c @ 6750:c93570aeb3eb libavcodec
Remove unnecessary parentheses from return calls.
author | diego |
---|---|
date | Tue, 06 May 2008 09:16:36 +0000 |
parents | 5b3acf9fd50a |
children | e943e1409077 |
comparison
equal
deleted
inserted
replaced
6749:b1778cf7f3b1 | 6750:c93570aeb3eb |
---|---|
110 | 110 |
111 for(i=0;i<8;i++) | 111 for(i=0;i<8;i++) |
112 { | 112 { |
113 if(rates[i].rate==bitrate) | 113 if(rates[i].rate==bitrate) |
114 { | 114 { |
115 return(rates[i].mode); | 115 return rates[i].mode; |
116 } | 116 } |
117 } | 117 } |
118 /* no bitrate matching, return an error */ | 118 /* no bitrate matching, return an error */ |
119 return -1; | 119 return -1; |
120 } | 120 } |
557 | 557 |
558 for(i=0;i<9;i++) | 558 for(i=0;i<9;i++) |
559 { | 559 { |
560 if(rates[i].rate==bitrate) | 560 if(rates[i].rate==bitrate) |
561 { | 561 { |
562 return(rates[i].mode); | 562 return rates[i].mode; |
563 } | 563 } |
564 } | 564 } |
565 /* no bitrate matching, return an error */ | 565 /* no bitrate matching, return an error */ |
566 return -1; | 566 return -1; |
567 } | 567 } |