summaryrefslogtreecommitdiffstats
path: root/codec-cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'codec-cfg.c')
-rw-r--r--codec-cfg.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/codec-cfg.c b/codec-cfg.c
index 6f5e5ecd0f..2d3e119601 100644
--- a/codec-cfg.c
+++ b/codec-cfg.c
@@ -737,17 +737,17 @@ err_out_release_num:
static void codecs_free(codecs_t* codecs,int count) {
int i;
for ( i = 0; i < count; i++)
- if ( (codecs[i]).name ) {
- if( (codecs[i]).name )
- free((codecs[i]).name);
- if( (codecs[i]).info )
- free((codecs[i]).info);
- if( (codecs[i]).comment )
- free((codecs[i]).comment);
- if( (codecs[i]).dll )
- free((codecs[i]).dll);
- if( (codecs[i]).drv )
- free((codecs[i]).drv);
+ if ( codecs[i].name ) {
+ if( codecs[i].name )
+ free(codecs[i].name);
+ if( codecs[i].info )
+ free(codecs[i].info);
+ if( codecs[i].comment )
+ free(codecs[i].comment);
+ if( codecs[i].dll )
+ free(codecs[i].dll);
+ if( codecs[i].drv )
+ free(codecs[i].drv);
}
if (codecs)
free(codecs);