Skip to content

Commit f3be886

Browse files
author
pytorchbot
committed
2025-01-25 nightly release (9a2c888)
1 parent cdba205 commit f3be886

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/linux_cuda_wheel.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ jobs:
6767
# include more python versions.
6868
python-version: ['3.9']
6969
cuda-version: ['11.8', '12.4', '12.6']
70-
ffmpeg-version-for-tests: ['5', '6', '7']
70+
# TODO: put back ffmpeg 5 https://github.com/pytorch/torchcodec/issues/325
71+
ffmpeg-version-for-tests: ['6', '7']
7172
container:
7273
image: "pytorch/manylinux2_28-builder:cuda${{ matrix.cuda-version }}"
7374
options: "--gpus all -e NVIDIA_DRIVER_CAPABILITIES=video,compute,utility"

src/torchcodec/decoders/_core/FFMPEGCommon.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ class AutoAVPacket {
9292

9393
public:
9494
AutoAVPacket();
95+
AutoAVPacket(const AutoAVPacket& other) = delete;
96+
AutoAVPacket& operator=(const AutoAVPacket& other) = delete;
9597
~AutoAVPacket();
9698
};
9799

@@ -100,7 +102,9 @@ class ReferenceAVPacket {
100102
AVPacket* avPacket_;
101103

102104
public:
103-
ReferenceAVPacket(AutoAVPacket& shared);
105+
explicit ReferenceAVPacket(AutoAVPacket& shared);
106+
ReferenceAVPacket(const ReferenceAVPacket& other) = delete;
107+
ReferenceAVPacket& operator=(const ReferenceAVPacket& other) = delete;
104108
~ReferenceAVPacket();
105109
AVPacket* get();
106110
AVPacket* operator->();

0 commit comments

Comments
 (0)