mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
metadata.c don't store encoder filename for all the decoders
there are only 4 encoder capable codecs just make it a function and add a macro to keep it sane Change-Id: Iac8833226434f8436bc678f3e409f462764d8fdc
This commit is contained in:
parent
f6b13c0fd0
commit
25ab00465e
3 changed files with 73 additions and 59 deletions
|
@ -190,7 +190,7 @@ const char * get_codec_filename(int cod_spec)
|
|||
tmp_fmt = AFMT_UNKNOWN;
|
||||
}
|
||||
fname = (type == CODEC_TYPE_ENCODER) ?
|
||||
audio_formats[tmp_fmt].codec_enc_root_fn :
|
||||
get_codec_enc_root_fn(tmp_fmt) :
|
||||
audio_formats[tmp_fmt].codec_root_fn;
|
||||
|
||||
logf("%s: %d - %s",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue