Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15409 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
dcca586a9b
commit
bfc870f07e
1 changed files with 2 additions and 1 deletions
|
@ -200,10 +200,11 @@ static int codec_load_ram(int size, struct codec_api *api)
|
|||
return CODEC_ERROR;
|
||||
|
||||
if (hdr == NULL
|
||||
|| hdr->magic != CODEC_MAGIC
|
||||
|| (hdr->magic != CODEC_MAGIC
|
||||
#ifdef HAVE_RECORDING
|
||||
&& hdr->magic != CODEC_ENC_MAGIC
|
||||
#endif
|
||||
)
|
||||
|| hdr->target_id != TARGET_ID) {
|
||||
sim_codec_close(pd);
|
||||
return CODEC_ERROR;
|
||||
|
|
Loading…
Reference in a new issue