diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-02-05 13:43:38 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-02-05 13:43:38 +0000 |
commit | 89ac41a2ccb85d6dfccb501ff4877231cab72094 (patch) | |
tree | fc8de71787a2739768fdc60b736d0186bbc3b12d /Game/Code/Classes/UVideo.pas | |
parent | eafa73ec3181ed45a8a6fdea8ef64fc9a1e867b3 (diff) | |
download | usdx-89ac41a2ccb85d6dfccb501ff4877231cab72094.tar.gz usdx-89ac41a2ccb85d6dfccb501ff4877231cab72094.tar.xz usdx-89ac41a2ccb85d6dfccb501ff4877231cab72094.zip |
Update of the ffmpeg headers to their current trunk versions.
IMPORTANT: parameter of av_free_packet is a pointer now
procedure av_free_packet (pkt: PAVPacket);
as it is with av_free() and av_freep()
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@814 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Classes/UVideo.pas | 4 |
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; |