end of packet condition during residue decode |
![]() ![]() |
end of packet condition during residue decode |
Jan 12 2007, 21:44
Post
#1
|
|
|
Group: Members Posts: 3 Joined: 12-January 07 Member No.: 39597 |
Hi to everybody
I am developing a simple Ogg-Vorbis decoder in C. The problem is that during residue-vector decode,the decoder regularly read past the end of packet:very rarely it stops to read before (10-20 bytes before).Is this behavior normal? I've read on the documentation that is not an error condition,and this can be considered a nominal occurrence,but it seems me strange that a packet codify less or more data of the expectation. Many thanks in advance Alberto |
|
|
|
Jan 17 2007, 21:33
Post
#2
|
|
|
Group: Members Posts: 3 Joined: 12-January 07 Member No.: 39597 |
Hi to everybody I am developing a simple Ogg-Vorbis decoder in C. The problem is that during residue-vector decode,the decoder regularly read past the end of packet:very rarely it stops to read before (10-20 bytes before).Is this behavior normal? I've read on the documentation that is not an error condition,and this can be considered a nominal occurrence,but it seems me strange that a packet codify less or more data of the expectation. Many thanks in advance Alberto Ok,i have resolved the problem Bye Alberto |
|
|
|
Jan 19 2007, 18:24
Post
#3
|
|
![]() Group: Developer Posts: 1317 Joined: 20-March 04 From: Göttingen (DE) Member No.: 12875 |
Yeah, it sounds more like a bug considering "normal" streams.
However, decoders should not complain about end-of-packet conditions during residue decode since it might be a "peeled" stream. |
|
|
|
Jan 28 2007, 09:37
Post
#4
|
|
|
Group: Members Posts: 3 Joined: 12-January 07 Member No.: 39597 |
Hi SebastianG
Thanks for your answer. However, decoders should not complain about end-of-packet conditions during residue decode since it might be a "peeled" stream. I've used oggenc1.0-rc2 to encode the stream,maybe it produces only peeled streams. However,i'm in order to apply the IMDCT to obtain the PCM samples.We will see those that it will happen Alberto |
|
|
|
Jan 28 2007, 10:48
Post
#5
|
|
![]() Server Admin Group: Admin Posts: 4808 Joined: 24-September 01 Member No.: 13 |
|
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 19:50 |