Skip to content

Commit

Permalink
Remove unwanted printf in avif decoder (#8621)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasHug authored Sep 2, 2024
1 parent db60022 commit c36025a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion torchvision/csrc/io/image/cpu/decode_avif.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ torch::Tensor decode_avif(
result == AVIF_RESULT_OK,
"avifDecoderParse failed: ",
avifResultToString(result));
printf("avif num images = %d\n", decoder->imageCount);
TORCH_CHECK(
decoder->imageCount == 1, "Avif file contains more than one image");

Expand Down

0 comments on commit c36025a

Please sign in to comment.