remove unused bwc_span bwc_stream.codestream.data

This commit is contained in:
Gregor Weiss 2024-07-02 18:07:19 +02:00
parent 1c41147b73
commit 3242165d90
Signed by: Gregor Weiss
GPG key ID: 61E170A8BBFE5756
2 changed files with 0 additions and 6 deletions

View file

@ -172,7 +172,6 @@
{
struct codestream
{
bwc_span *data; // Data codestream block.
bwc_span *aux; // Auxiliary info. codestream block.
bwc_span *com; // Comment codestream block.
}codestream;

View file

@ -1595,10 +1595,6 @@ bwc_free_data(bwc_stream* data)
{
if(data)
{
if(data->codestream.data)
{
release_packed_stream(data->codestream.data);
}
if(data->codestream.aux)
{
release_packed_stream(data->codestream.aux);
@ -1607,7 +1603,6 @@ bwc_free_data(bwc_stream* data)
{
release_packed_stream(data->codestream.com);
}
free(data->codestream.data);
free(data->codestream.aux);
free(data->codestream.com);
free(data);