[trunk] Changed error to warning when no EOC found in codestream (fixes
issue 366)