pytorch-vision: FTBFS with ffmpeg 6.0

Bug #2033761 reported by Benjamin Drung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pytorch-vision (Debian)
Fix Released
Unknown
pytorch-vision (Ubuntu)
Fix Released
High
Unassigned

Bug Description

pytorch-vision FTBFS with ffmpeg 6.0:

```
/<<PKGBUILDDIR>>/torchvision/csrc/io/decoder/stream.cpp: In member function ‘int ffmpeg::Stream::openCodec(std::vector<ffmpeg::DecoderMetadata>*, int)’:
/<<PKGBUILDDIR>>/torchvision/csrc/io/decoder/stream.cpp:68:42: error: ‘AV_CODEC_CAP_INTRA_ONLY’ was not declared in this scope; did you mean ‘AV_CODEC_PROP_INTRA_ONLY’?
   68 | if (codecCtx_->codec->capabilities & AV_CODEC_CAP_INTRA_ONLY) {
      | ^~~~~~~~~~~~~~~~~~~~~~~
      | AV_CODEC_PROP_INTRA_ONLY
```

Full log: https://launchpadlibrarian.net/683921978/buildlog_ubuntu-mantic-amd64.pytorch-vision_0.14.1-2build1_BUILDING.txt.gz

Changed in pytorch-vision (Debian):
status: Unknown → New
Jeremy Bícha (jbicha)
Changed in pytorch-vision (Ubuntu):
status: Triaged → Fix Committed
status: Fix Committed → Fix Released
Revision history for this message
Jeremy Bícha (jbicha) wrote :
Changed in pytorch-vision (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.