Skip to content

Commit

Permalink
Fix CacheLoad call in old nvjpeg (#728)
Browse files Browse the repository at this point in the history
Signed-off-by: Joaquin Anton <janton@nvidia.com>
  • Loading branch information
jantonguirao committed Apr 2, 2019
1 parent 6f3390c commit e6781df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dali/pipeline/operators/decoder/nvjpeg_decoder.h
Expand Up @@ -314,7 +314,7 @@ class nvJPEGDecoder : public Operator<MixedBackend>, CachedDecoderImpl {
const int stream_idx = tid;
const auto output_data_size = volume(output_shape) * sizeof(uint8_t);

if (CacheLoad(file_name, output_shape, output_data, streams_[stream_idx]))
if (CacheLoad(file_name, output_data, streams_[stream_idx]))
return;

DecodeSingleSample(
Expand Down

0 comments on commit e6781df

Please sign in to comment.