added missing newlines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6152 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -49,7 +49,7 @@ vorbisDecoder::Setup(media_format *inputFormat,
|
|||||||
{
|
{
|
||||||
if ((inputFormat->type != B_MEDIA_UNKNOWN_TYPE)
|
if ((inputFormat->type != B_MEDIA_UNKNOWN_TYPE)
|
||||||
&& (inputFormat->type != B_MEDIA_ENCODED_AUDIO)) {
|
&& (inputFormat->type != B_MEDIA_ENCODED_AUDIO)) {
|
||||||
TRACE("vorbisDecoder::Setup not called with audio/unknown stream: not vorbis");
|
TRACE("vorbisDecoder::Setup not called with audio/unknown stream: not vorbis\n");
|
||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
}
|
}
|
||||||
if (inputFormat->MetaDataSize() == sizeof(ogg_packet)) {
|
if (inputFormat->MetaDataSize() == sizeof(ogg_packet)) {
|
||||||
@@ -58,7 +58,7 @@ vorbisDecoder::Setup(media_format *inputFormat,
|
|||||||
ogg_packet * packet = (ogg_packet*)inputFormat->MetaData();
|
ogg_packet * packet = (ogg_packet*)inputFormat->MetaData();
|
||||||
// parse header packet
|
// parse header packet
|
||||||
if (vorbis_synthesis_headerin(&fInfo,&fComment,packet) != 0) {
|
if (vorbis_synthesis_headerin(&fInfo,&fComment,packet) != 0) {
|
||||||
TRACE("vorbisDecoder::Setup: vorbis_synthesis_headerin failed: not vorbis header");
|
TRACE("vorbisDecoder::Setup: vorbis_synthesis_headerin failed: not vorbis header\n");
|
||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
}
|
}
|
||||||
fHeaderPacketParsed = true;
|
fHeaderPacketParsed = true;
|
||||||
@@ -84,7 +84,7 @@ vorbisDecoder::InitializeInput(media_format *ioEncodedFormat)
|
|||||||
}
|
}
|
||||||
// parse header packet
|
// parse header packet
|
||||||
if (vorbis_synthesis_headerin(&fInfo,&fComment,packet) != 0) {
|
if (vorbis_synthesis_headerin(&fInfo,&fComment,packet) != 0) {
|
||||||
TRACE("vorbisDecoder::Setup: vorbis_synthesis_headerin failed: not vorbis header");
|
TRACE("vorbisDecoder::Setup: vorbis_synthesis_headerin failed: not vorbis header\n");
|
||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
}
|
}
|
||||||
fHeaderPacketParsed = true;
|
fHeaderPacketParsed = true;
|
||||||
@@ -97,7 +97,7 @@ vorbisDecoder::InitializeInput(media_format *ioEncodedFormat)
|
|||||||
}
|
}
|
||||||
// parse comment packet
|
// parse comment packet
|
||||||
if (vorbis_synthesis_headerin(&fInfo,&fComment,packet) != 0) {
|
if (vorbis_synthesis_headerin(&fInfo,&fComment,packet) != 0) {
|
||||||
TRACE("vorbiseDecoder::Setup: vorbis_synthesis_headerin failed: not vorbis comment");
|
TRACE("vorbiseDecoder::Setup: vorbis_synthesis_headerin failed: not vorbis comment\n");
|
||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
}
|
}
|
||||||
fCommentPacketParsed = true;
|
fCommentPacketParsed = true;
|
||||||
@@ -110,7 +110,7 @@ vorbisDecoder::InitializeInput(media_format *ioEncodedFormat)
|
|||||||
}
|
}
|
||||||
// parse codebook packet
|
// parse codebook packet
|
||||||
if (vorbis_synthesis_headerin(&fInfo,&fComment,packet) != 0) {
|
if (vorbis_synthesis_headerin(&fInfo,&fComment,packet) != 0) {
|
||||||
TRACE("vorbiseDecoder::Setup: vorbis_synthesis_headerin failed: not vorbis codebook");
|
TRACE("vorbiseDecoder::Setup: vorbis_synthesis_headerin failed: not vorbis codebook\n");
|
||||||
return B_ERROR;
|
return B_ERROR;
|
||||||
}
|
}
|
||||||
// initialize decoder
|
// initialize decoder
|
||||||
|
|||||||
Reference in New Issue
Block a user