File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
src/torchcodec/decoders/_core Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff 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 ->();
You can’t perform that action at this time.
0 commit comments