Skip to content
Snippets Groups Projects
Commit 69aeba13 authored by Reimar Döffinger's avatar Reimar Döffinger
Browse files

oggdec: Initialize stream index to -1 in ogg_packet.


The previous method of having to initialize it outside lead
to incorrect code: even if it was initialized, it usually was
only initialized once, thus a packet that could not be matched
to any stream would just be processed with the return values
from the previous call.

Signed-off-by: default avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
parent a4163b2d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment