Changes between Initial Version and Version 2 of Ticket #2120
- Timestamp:
- 10/16/09 14:48:21 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2120
- Property Status changed from new to s2a_design_started
-
Ticket #2120 – Description
initial v2 1 1 1. Insert an mp3 audio file. 2 2 2. If the file is with missing or corrupted header, the media decoder native stops and throws an exception. 3 4 Fix: 5 * java - in the org.sophie2.main.media.natlib.decoder.MediaNativeBridge is added if clause to check whether returned response is ErrorResponse that contains "length < 0" substring in its message, which means that the packet read from the file is corrupted (mostly the header)... 6 * natives - in the media_decoder.h file in the decodeaudio3 method, the assert that used to check whether the decoding of the packet is successful is changed to if clause, and if it is corrupted/missing/ it throws an exception that is handled in the mainLoop of the native. A ErrorResponse with the exception message is returned to the java side. 7 8 A patch with the changes is added.