Commit 8d9ecc0c authored by Max Kellermann's avatar Max Kellermann

decoder/opus: make variables more local

parent f01b9911
......@@ -208,12 +208,12 @@ LoadEOSPacket(InputStream &is, Decoder *decoder, int serialno,
/* create temporary Ogg objects for seeking and parsing the
EOS packet */
DecoderReader reader(decoder, is);
OggSyncState oy(reader);
bool result;
{
DecoderReader reader(decoder, is);
OggSyncState oy(reader);
OggStreamState os(serialno);
result = OggSeekFindEOS(oy, os, packet, is);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment