Fixing an "error" in how BMediaDecoder was built.
* If reading BeBook the class should be B_NO_INIT until we have called SetTo * When I at it, any suggestion on how a test tool for BMediaEncoder should look like?
This commit is contained in:
parent
6e64d21af7
commit
d456de037d
@ -15,7 +15,7 @@
|
||||
|
||||
BMediaDecoder::BMediaDecoder()
|
||||
: fDecoder(NULL),
|
||||
fInitStatus(B_OK)
|
||||
fInitStatus(B_NO_INIT)
|
||||
{
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ BMediaDecoder::BMediaDecoder(const media_format *in_format,
|
||||
const void *info,
|
||||
size_t info_size)
|
||||
: fDecoder(NULL),
|
||||
fInitStatus(B_OK)
|
||||
fInitStatus(B_NO_INIT)
|
||||
{
|
||||
SetTo(in_format, info, info_size);
|
||||
}
|
||||
@ -32,7 +32,7 @@ BMediaDecoder::BMediaDecoder(const media_format *in_format,
|
||||
|
||||
BMediaDecoder::BMediaDecoder(const media_codec_info *mci)
|
||||
: fDecoder(NULL),
|
||||
fInitStatus(B_OK)
|
||||
fInitStatus(B_NO_INIT)
|
||||
{
|
||||
SetTo(mci);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user