Skip to content

Commit

Permalink
examples: removed unneeded variables
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinPulec committed Jul 31, 2023
1 parent 48455ff commit 012b227
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions examples/decode_to_cuda_pnm.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,6 @@ static int decode(const char *input_filename, struct decode_data *d)
gpujpeg_decoder_output_set_custom_cuda(&decoder_output, d->d_output_image);

// decompress the image
uint8_t *image_decompressed = NULL;
size_t image_decompressed_size = 0;
if (gpujpeg_decoder_decode(d->decoder, d->input_image, input_image_size, &decoder_output) != 0) {
return 1;
}
Expand Down
2 changes: 0 additions & 2 deletions examples/decode_to_pnm.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ static int decode(const char *input_filename, struct decode_data *d)
gpujpeg_decoder_output_set_default(&decoder_output);

// decompress the image
uint8_t *image_decompressed = NULL;
size_t image_decompressed_size = 0;
if (gpujpeg_decoder_decode(d->decoder, d->input_image, input_image_size, &decoder_output) != 0) {
return 1;
}
Expand Down
2 changes: 0 additions & 2 deletions examples/decode_to_raw_rgb.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ static int decode(const char *input_filename, struct decode_data *d)
gpujpeg_decoder_output_set_default(&decoder_output);

// decompress the image
uint8_t *image_decompressed = NULL;
size_t image_decompressed_size = 0;
if (gpujpeg_decoder_decode(d->decoder, d->input_image, input_image_size, &decoder_output) != 0) {
return 1;
}
Expand Down

0 comments on commit 012b227

Please sign in to comment.