oggenc: Fix the EOS flag
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 28 May 2014 17:27:40 +0000 (10:27 -0700)
committerMartin Storsjö <martin@martin.st>
Wed, 28 May 2014 18:51:38 +0000 (21:51 +0300)
commit7dba055bb0d31b2c79d9c3a66abb849a71417d3c
tree0cd35d2d66645f25b2aef5c4070f8c1b6740e7f1
parentb5aa48551300eed678aaea86ced7086758598a35
oggenc: Fix the EOS flag

This corrects the bug that caused the checksums to change in
9767d7c092c890ecc5953452e8a951fd902dd67b.

It caused the EOS flag to be set incorrectly; the ogg spec does not
allow it to be set in the middle of a logical bitstream.

Signed-off-by: Andrew Kelley <superjoe30@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/oggenc.c
tests/ref/lavf/ogg