Set filling properly when codec doesn't fit too.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20094 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Martitz 2009-02-23 22:50:08 +00:00
parent 5e1bab1cd8
commit d7dee56b86

View file

@ -1837,6 +1837,7 @@ static void audio_finish_load_track(void)
if (tracks[track_widx].codec_hid == ERR_BUFFER_FULL)
{
/* No space for codec on buffer, not an error */
filling = STATE_FULL;
return;
}