i-rinat / libvdpau-va-gl

VDPAU driver with OpenGL/VAAPI backend
MIT License
161 stars 26 forks source link

AV_VERSION_INT in compat.h not defined #39

Closed antmak closed 10 years ago

antmak commented 10 years ago

/libvdpau-va-gl/libvdpau-va-gl-git/src/compat.h:19:44: error: missing binary operator before token "("

Begins on commit e61db799d83874506896f55710e3418e6ddc301a " move OS-specific thread id related functions to compact.h"

I added #include <libavutil/avutil.h> to compat.h for AV_VERSION_INT definition. Works fine! Pull request zdelat' vlom :)

i-rinat commented 10 years ago

Should be fixed by 8d191fb6ebe666633cee05f42e173c4f60e0a789

antmak commented 10 years ago

I have fedora 17 and ffmpeg-devel-0.10.7, I have to suffer. :) I have not libavutil/version.h , ffmpeg too old)

<libavutil/avutil.h> is better for me. Ffmpeg breaks own API, as always.

i-rinat commented 10 years ago

Ok, I think it will do no harm to recent versions too. 9c0ee2403e268435bb2b4c0df7ad5430a82a64f3