Skip to content

Commit

Permalink
[fbsync] Remove unwanted printf in avif decoder (#8621)
Browse files Browse the repository at this point in the history
Reviewed By: vmoens

Differential Revision: D62098667

fbshipit-source-id: e1434ec4a598c3bc386a6f5a9085433d035dcec6
  • Loading branch information
NicolasHug authored and facebook-github-bot committed Sep 2, 2024
1 parent f15d1d3 commit c141190
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 c141190

Please sign in to comment.