On 2013-10-17 19:28:54, Rebecca N. Palmer wrote:
> Removal shouldn't be necessary: this bug should be fixable by simply
> updating the libav* version numbers in
> src/Tao.FFmpeg/Tao.FFmpeg.dll.config (patch attached, replaces all
> three existing libav*update patches), though I haven't tested this.
> 
> Also, your libav{codec,format}-dev build-dependencies should be
> updated to >=6:9, as the same problem would occur if libav was older
> than this file expects.

> Update libav version numbers
> $ diff -up Tao.FFmpeg.dll.config_orig Tao.FFmpeg.dll.config
> --- Tao.FFmpeg.dll.config_orig        2013-10-17 19:12:08.372519000 +0100
> +++ Tao.FFmpeg.dll.config     2013-10-17 19:13:44.032516362 +0100
> @@ -1,15 +1,15 @@
>  <configuration>
>      <dllmap dll="avcodec-51.dll" os="windows" target="avcodec-51.dll" />
>      <dllmap dll="avcodec-51.dll" os="osx" target="libavcodec.so.51" />
> -    <dllmap dll="avcodec-51.dll" os="!windows,osx" target="libavcodec.so.51" 
> />
> +    <dllmap dll="avcodec-51.dll" os="!windows,osx" target="libavcodec.so.54" 
> />
>  
>      <dllmap dll="avformat-52.dll" os="windows" target="avformat-52.dll" />
>      <dllmap dll="avformat-52.dll" os="osx" target="libavformat.so.52" />
> -    <dllmap dll="avformat-52.dll" os="!windows,osx" 
> target="libavformat.so.52" />
> +    <dllmap dll="avformat-52.dll" os="!windows,osx" 
> target="libavformat.so.54" />
>  
>      <dllmap dll="avutil-49.dll" os="windows" target="avutil-49.dll" />
>      <dllmap dll="avutil-49.dll" os="osx" target="libavutil.so.49" />
> -    <dllmap dll="avutil-49.dll" os="!windows,osx" target="libavutil.so.49" />
> +    <dllmap dll="avutil-49.dll" os="!windows,osx" target="libavutil.so.52" />
>  
>      <dllmap dll="swscale-0.dll" os="windows" target="swscale-0.dll" />
>      <dllmap dll="swscale-0.dll" os="osx" target="libswscale.so.0" />

I am afraid that won't be enough. Tao.FFmpeg still refers to functions that
have been removed from libav a long time ago. Furthermore at least one
struct (AVPacket) doesn't match the definition in libav.

Regards
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: Digital signature

Reply via email to