feat/api #46

Open
Gregor Weiss wants to merge 55 commits from feat/api into main
2 changed files with 0 additions and 6 deletions
Showing only changes of commit 3242165d90 - Show all commits

View file

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

View file

@ -1595,10 +1595,6 @@ bwc_free_data(bwc_stream* data)
{ {
if(data) if(data)
{ {
if(data->codestream.data)
{
release_packed_stream(data->codestream.data);
}
if(data->codestream.aux) if(data->codestream.aux)
{ {
release_packed_stream(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); release_packed_stream(data->codestream.com);
} }
free(data->codestream.data);
free(data->codestream.aux); free(data->codestream.aux);
free(data->codestream.com); free(data->codestream.com);
free(data); free(data);