aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UVideo.pas
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/Classes/UVideo.pas')
-rw-r--r--Game/Code/Classes/UVideo.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/Game/Code/Classes/UVideo.pas b/Game/Code/Classes/UVideo.pas
index c30b271e..db7e3ffd 100644
--- a/Game/Code/Classes/UVideo.pas
+++ b/Game/Code/Classes/UVideo.pas
@@ -286,7 +286,7 @@ begin
try
// if AVPacket.data <> nil then
- av_free_packet( AVPacket ); // JB-ffmpeg
+ av_free_packet( @AVPacket ); // JB-ffmpeg
except
// TODO : JB_FFMpeg ... why does this now AV sometimes ( or always !! )
end;
@@ -308,7 +308,7 @@ begin
// release internal packet structure created by av_read_frame
try
// if AVPacket.data <> nil then
- av_free_packet( AVPacket ); // JB-ffmpeg
+ av_free_packet( @AVPacket ); // JB-ffmpeg
except
// TODO : JB_FFMpeg ... why does this now AV sometimes ( or always !! )
end;