Commit 133e4d5c authored by Max Kellermann's avatar Max Kellermann

decoder/vorbis: improved support for initial seek

Call decoder_get_command() before doing anything else.
parent fd56461d
......@@ -202,7 +202,7 @@ vorbis_stream_decode(struct decoder *decoder,
decoder_initialized(decoder, &audio_format, vis.seekable, total_time);
enum decoder_command cmd = DECODE_COMMAND_NONE;
enum decoder_command cmd = decoder_get_command(decoder);
char chunk[OGG_CHUNK_SIZE];
int prev_section = -1;
long bitRate = 0;
......
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