Mercurial > libavcodec.hg
comparison faac.c @ 2979:bfabfdf9ce55 libavcodec
COSMETICS: tabs --> spaces, some prettyprinting
| author | diego |
|---|---|
| date | Thu, 22 Dec 2005 01:10:11 +0000 |
| parents | ef2149182f1c |
| children | 0f5f311f2f94 |
comparison
equal
deleted
inserted
replaced
| 2978:403183bbb505 | 2979:bfabfdf9ce55 |
|---|---|
| 44 &samples_input, &max_bytes_output); | 44 &samples_input, &max_bytes_output); |
| 45 | 45 |
| 46 /* check faac version */ | 46 /* check faac version */ |
| 47 faac_cfg = faacEncGetCurrentConfiguration(s->faac_handle); | 47 faac_cfg = faacEncGetCurrentConfiguration(s->faac_handle); |
| 48 if (faac_cfg->version != FAAC_CFG_VERSION) { | 48 if (faac_cfg->version != FAAC_CFG_VERSION) { |
| 49 av_log(avctx, AV_LOG_ERROR, "wrong libfaac version (compiled for: %d, using %d)\n", FAAC_CFG_VERSION, faac_cfg->version); | 49 av_log(avctx, AV_LOG_ERROR, "wrong libfaac version (compiled for: %d, using %d)\n", FAAC_CFG_VERSION, faac_cfg->version); |
| 50 faacEncClose(s->faac_handle); | 50 faacEncClose(s->faac_handle); |
| 51 return -1; | 51 return -1; |
| 52 } | 52 } |
| 53 | 53 |
| 54 /* put the options in the configuration struct */ | 54 /* put the options in the configuration struct */ |
