MPEG: Properties::xingHeader() should return null if a VBR header is not found.

This commit is contained in:
Tsuda Kageyu
2015-05-26 11:54:57 +09:00
parent 9ec6d28239
commit f82be353b4
2 changed files with 6 additions and 4 deletions

View File

@ -79,7 +79,7 @@ public:
CPPUNIT_ASSERT_EQUAL(64, f.audioProperties()->bitrate());
CPPUNIT_ASSERT_EQUAL(1, f.audioProperties()->channels());
CPPUNIT_ASSERT_EQUAL(44100, f.audioProperties()->sampleRate());
CPPUNIT_ASSERT(!f.audioProperties()->xingHeader()->isValid());
CPPUNIT_ASSERT(!f.audioProperties()->xingHeader());
long last = f.lastFrameOffset();