decoder/opus: make variables more local

This commit is contained in:
Max Kellermann 2016-05-09 15:30:29 +02:00
parent f01b991108
commit 8d9ecc0c62
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}