Ticket #59 (closed defect: fixed)
Error when reaching end of file in decoder
| Reported by: | jddupas | Owned by: | gbooker |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | a52codec | Version: | 1.7.7 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Hello,
I have a problem when I'm reaching the end of file with the decoder. It returns a kAudioCodecNotEnoughBufferSpace error.
This error is throw at the line 1174 in the ACShepA52Decoder file because ioInputDataByteSize == 0. According to some other Apple sample (the sample flac codec in CoreAudioSDK) it look like it's perfectly valid to have ioInputDataByteSize == 0. It just mean that the end of the file is reached.
I encounter this problem when I process an MPEG4 file using the "ConvertFile?/UseAC-AF" sample code (from the CoreAudio? SDK too).
Thanks,
Change History
Note: See
TracTickets for help on using
tickets.
