integration
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5616 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -116,9 +116,7 @@ status_t
|
|||||||
BMediaFormats::GetFormatFor(const media_format_description & desc,
|
BMediaFormats::GetFormatFor(const media_format_description & desc,
|
||||||
media_format * out_format)
|
media_format * out_format)
|
||||||
{
|
{
|
||||||
// set to wildcard, as MakeFormatFor wants an in/out format...
|
return _get_format_for_description(out_format, desc);
|
||||||
memset(out_format, 0, sizeof(*out_format));
|
|
||||||
return MakeFormatFor(&desc, 1, out_format);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user