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, ...@@ -208,12 +208,12 @@ LoadEOSPacket(InputStream &is, Decoder *decoder, int serialno,
/* create temporary Ogg objects for seeking and parsing the /* create temporary Ogg objects for seeking and parsing the
EOS packet */ EOS packet */
DecoderReader reader(decoder, is);
OggSyncState oy(reader);
bool result; bool result;
{ {
DecoderReader reader(decoder, is);
OggSyncState oy(reader);
OggStreamState os(serialno); OggStreamState os(serialno);
result = OggSeekFindEOS(oy, os, packet, is); 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