aboutsummaryrefslogtreecommitdiff
path: root/graphics/osg/files/patch-src_osgPlugins_ffmpeg_FFmpegPacket.hpp
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2025-07-21 11:55:53 +0000
committerDima Panov <fluffy@FreeBSD.org>2025-07-21 11:59:27 +0000
commit3b84553e70c09adf08cd16ac0ad5b8897a5189df (patch)
tree9f4127e803eae0850803adb8f026cb36681e48fd /graphics/osg/files/patch-src_osgPlugins_ffmpeg_FFmpegPacket.hpp
parent06475261fd6657c01efda21826f6eed146f6474f (diff)
Diffstat (limited to 'graphics/osg/files/patch-src_osgPlugins_ffmpeg_FFmpegPacket.hpp')
-rw-r--r--graphics/osg/files/patch-src_osgPlugins_ffmpeg_FFmpegPacket.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/osg/files/patch-src_osgPlugins_ffmpeg_FFmpegPacket.hpp b/graphics/osg/files/patch-src_osgPlugins_ffmpeg_FFmpegPacket.hpp
new file mode 100644
index 000000000000..daa4932f1e6f
--- /dev/null
+++ b/graphics/osg/files/patch-src_osgPlugins_ffmpeg_FFmpegPacket.hpp
@@ -0,0 +1,11 @@
+--- src/osgPlugins/ffmpeg/FFmpegPacket.hpp.orig 2022-12-01 18:17:31 UTC
++++ src/osgPlugins/ffmpeg/FFmpegPacket.hpp
+@@ -42,7 +42,7 @@ namespace osgFFmpeg
+ void clear()
+ {
+ if (packet.data != 0)
+- av_free_packet(&packet);
++ av_packet_unref(&packet);
+
+ release();
+ }