projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8066a8
)
simplify ogg_compute_header_len()
author
Andre Noll
<maan@systemlinux.org>
Sat, 3 Mar 2007 14:27:52 +0000
(15:27 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Sat, 3 Mar 2007 14:27:52 +0000
(15:27 +0100)
ogg_afh.c
patch
|
blob
|
history
diff --git
a/ogg_afh.c
b/ogg_afh.c
index
d295f2d
..
760514a
100644
(file)
--- a/
ogg_afh.c
+++ b/
ogg_afh.c
@@
-81,11
+81,9
@@
static int ogg_compute_header_len(void)
goto err2;
}
ret = -E_VORBIS;
- if (vorbis_synthesis_headerin(&vi, &vc, &packet) < 0)
{
+ if (vorbis_synthesis_headerin(&vi, &vc, &packet) < 0)
goto err2;
- } else
- PARA_INFO_LOG("channels: %i, rate: %li\n", vi.channels,
- vi.rate);
+ PARA_INFO_LOG("channels: %i, rate: %li\n", vi.channels, vi.rate);
ogg_stream_packetin(stream_out, &packet);
ret = ogg_sync_pageout(sync_in, &page);