Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
flac
Commits
e1378259
Commit
e1378259
authored
Sep 16, 2006
by
Josh Coalson
Browse files
remove unused code
parent
c0da1961
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/flac/encode.c
View file @
e1378259
...
...
@@ -88,7 +88,6 @@ typedef struct {
}
encoder
;
FILE
*
fin
;
FILE
*
fout
;
FLAC__StreamMetadata
*
seek_table_template
;
}
EncoderSession
;
...
...
@@ -1317,13 +1316,8 @@ FLAC__bool EncoderSession_construct(EncoderSession *e, FLAC__bool use_ogg, FLAC_
#endif
e
->
fin
=
infile
;
e
->
fout
=
0
;
e
->
seek_table_template
=
0
;
if
(
e
->
is_stdout
)
{
e
->
fout
=
grabbag__file_get_binary_stdout
();
}
if
(
0
==
(
e
->
seek_table_template
=
FLAC__metadata_object_new
(
FLAC__METADATA_TYPE_SEEKTABLE
)))
{
flac__utils_printf
(
stderr
,
1
,
"%s: ERROR allocating memory for seek table
\n
"
,
e
->
inbasefilename
);
return
false
;
...
...
@@ -1354,8 +1348,6 @@ void EncoderSession_destroy(EncoderSession *e)
{
if
(
e
->
fin
!=
stdin
)
fclose
(
e
->
fin
);
if
(
0
!=
e
->
fout
&&
e
->
fout
!=
stdout
)
fclose
(
e
->
fout
);
#ifdef FLAC__HAS_OGG
if
(
e
->
use_ogg
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment