vorbisdec: read the previous window flag for long windows
authorJustin Ruggles <justin.ruggles@gmail.com>
Fri, 24 Feb 2012 23:04:05 +0000 (18:04 -0500)
committerJustin Ruggles <justin.ruggles@gmail.com>
Sat, 3 Mar 2012 21:43:11 +0000 (16:43 -0500)
commit737ca4482bd68d6dc52a1811f5de8e4952ad7036
tree1336218e8943f52608a25f61e7cbe305b07abdde
parent7fb6c9225c309c55b85f6974627e26976817bff5
vorbisdec: read the previous window flag for long windows

When reading sequentially, we are using the actual flag from the previous
frame, but when seeking we do not know what the previous window flag was, so
we need to read it from the bitstream.
libavcodec/vorbisdec.c